qmk-firmware/lib/python/qmk
Cody Bender e77188458f
Add QMK Compile Context Sensitivity (#6884)
* Add context sensitive compile, without config check

* Initial full working state. Plan to refactor

* Refactor loop for simplicity, add comments

* Update docs/cli.md with qmk compile examples

* Simplify path for keyboard derivation

* Update path to use path.join instead of concat

* Refactor keyboard path, the skully way

* Add in keymap folder support

* Add /layouts compile support

* Update docs/cli.md with empty compile in layouts

* Add comments to compile.py

* Update docs for clarity, and fix compile error typo

* Fix config option compile

* Fix layout compile and failure mode

* Add rules.mk check

* Fix variable names for global config

* Add in_layout priority

* Remove default fallback in favor of throw, update docs

* Add keymap folder context

* Fix formatting

* Add os import

* Convert to create_make_command

* Fix Travis lint errors

* Remove blank line with whitespace

* Add blank lines for readability

* Remove unnecessary config logic

* Update Docs to add flash

Co-Authored-By: skullydazed <skullydazed@users.noreply.github.com>

* Shift config precedence to MILC

Co-authored-by: skullydazed <skullydazed@users.noreply.github.com>
2020-02-07 21:48:37 +01:00
..
cli Add QMK Compile Context Sensitivity (#6884) 2020-02-07 21:48:37 +01:00
tests Add pep8-naming to our python linting 2019-12-01 13:40:14 -08:00
__init__.py QMK CLI and JSON keymap support (#6176) 2019-07-15 12:14:27 -07:00
commands.py Fix compiling json files 2019-12-08 16:40:03 -08:00
converter.py Add cli convert subcommand, from raw KLE to JSON (#6898) 2019-11-12 20:55:41 -08:00
errors.py Small CLI cleanups 2019-11-12 18:41:38 -08:00
keymap.py Add flake8 to our test suite and fix all errors (#7379) 2019-11-20 14:54:18 -08:00
path.py Add flake8 to our test suite and fix all errors (#7379) 2019-11-20 14:54:18 -08:00
questions.py Improve the functionality of qmk.questions (#8020) 2020-02-03 09:04:58 -08:00
submodules.py Beef up how qmk doctor works. (#7375) 2020-01-24 20:31:16 +01:00