1
0
Fork 0

CLI: Add subcommand to generate version.h (#13151)

This commit is contained in:
Ryan 2021-06-27 02:29:02 +10:00 committed by GitHub
parent 546f5f2c4f
commit bbe43a91eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 79 additions and 45 deletions

View file

@ -258,6 +258,12 @@ def test_generate_rules_mk():
assert 'MCU ?= atmega32u4' in result.stdout
def test_generate_version_h():
result = check_subcommand('generate-version-h')
check_returncode(result)
assert '#define QMK_VERSION' in result.stdout
def test_generate_layouts():
result = check_subcommand('generate-layouts', '-kb', 'handwired/pytest/basic')
check_returncode(result)