diff options
author | QMK Bot <[email protected]> | 2024-06-15 09:38:16 +0000 |
---|---|---|
committer | QMK Bot <[email protected]> | 2024-06-15 09:38:16 +0000 |
commit | faa84a7c9016a76eb7d594b5ce33a62fe2b1f81e (patch) | |
tree | 88bd0ea38d2673c9c5920c74f80814bae670334f /lib/python/qmk/cli/userspace/compile.py | |
parent | e31418ee119a63dbc930e4148dca92a8e9260b07 (diff) | |
parent | 0262161914133e6abfc306e675dbac3ba816a6ee (diff) | |
download | qmk_firmware-faa84a7c9016a76eb7d594b5ce33a62fe2b1f81e.tar.gz qmk_firmware-faa84a7c9016a76eb7d594b5ce33a62fe2b1f81e.zip |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'lib/python/qmk/cli/userspace/compile.py')
-rw-r--r-- | lib/python/qmk/cli/userspace/compile.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/qmk/cli/userspace/compile.py b/lib/python/qmk/cli/userspace/compile.py index fb320a16f0..e8cdf6cd97 100644 --- a/lib/python/qmk/cli/userspace/compile.py +++ b/lib/python/qmk/cli/userspace/compile.py @@ -9,6 +9,7 @@ from qmk.userspace import UserspaceDefs from qmk.build_targets import JsonKeymapBuildTarget from qmk.search import search_keymap_targets from qmk.cli.mass_compile import mass_compile_targets +from qmk.util import maybe_exit_config @cli.argument('-t', '--no-temp', arg_only=True, action='store_true', help="Remove temporary files during build.") @@ -22,6 +23,8 @@ def userspace_compile(cli): cli.log.error('Could not determine QMK userspace location. Please run `qmk doctor` or `qmk userspace-doctor` to diagnose.') return False + maybe_exit_config(should_exit=False, should_reraise=True) + userspace = UserspaceDefs(QMK_USERSPACE / 'qmk.json') build_targets = [] |