Enable 'keyboard.json' as a build target (#22891)
This commit is contained in:
@ -15,8 +15,9 @@ def is_keyboard(keyboard_name):
|
||||
if keyboard_name:
|
||||
keyboard_path = QMK_FIRMWARE / 'keyboards' / keyboard_name
|
||||
rules_mk = keyboard_path / 'rules.mk'
|
||||
keyboard_json = keyboard_path / 'keyboard.json'
|
||||
|
||||
return rules_mk.exists()
|
||||
return rules_mk.exists() or keyboard_json.exists()
|
||||
|
||||
|
||||
def under_qmk_firmware(path=Path(os.environ['ORIG_CWD'])):
|
||||
|
Reference in New Issue
Block a user