1
0
Fork 0

Enable 'keyboard.json' as a build target (#22891)

This commit is contained in:
Joel Challis 2024-03-10 05:20:25 +00:00 committed by GitHub
parent c5225ab500
commit 9f4a9d5826
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 53 additions and 45 deletions

View file

@ -251,7 +251,7 @@ def new_keyboard(cli):
# merge in infos
community_info = Path(COMMUNITY / f'{default_layout}/info.json')
augment_community_info(community_info, keyboard(kb_name) / community_info.name)
augment_community_info(community_info, keyboard(kb_name) / 'keyboard.json')
cli.log.info(f'{{fg_green}}Created a new keyboard called {{fg_cyan}}{kb_name}{{fg_green}}.{{fg_reset}}')
cli.log.info(f"Build Command: {{fg_yellow}}qmk compile -kb {kb_name} -km default{{fg_reset}}.")