forked from mirrors/qmk_userspace
Create a system to map between info.json and config.h/rules.mk (#11548)
* generate rules.mk from a json mapping * generate rules.mk from a json mapping * support for config.h from json maps * improve the mapping system * document the mapping system * move data/maps to data/mappings * fix flake8 errors * fixup LED_MATRIX_DRIVER * remove product and description from the vision_division keymap level * reduce the complexity of generate-rules-mk * add tests for the generate commands * fix qmk doctor when submodules are not clean
This commit is contained in:
parent
6cada2a35f
commit
ef6329af7c
13 changed files with 338 additions and 460 deletions
lib/python/qmk/cli
|
@ -107,9 +107,9 @@ def doctor(cli):
|
|||
submodules.update()
|
||||
sub_ok = check_submodules()
|
||||
|
||||
if CheckStatus.ERROR in sub_ok:
|
||||
if sub_ok == CheckStatus.ERROR:
|
||||
status = CheckStatus.ERROR
|
||||
elif CheckStatus.WARNING in sub_ok and status == CheckStatus.OK:
|
||||
elif sub_ok == CheckStatus.WARNING and status == CheckStatus.OK:
|
||||
status = CheckStatus.WARNING
|
||||
|
||||
# Report a summary of our findings to the user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue