qmk_firmware/lib/python/qmk/cli
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
..
json Add flake8 to our test suite and fix all errors (#7379) 2019-11-20 14:54:18 -08:00
list Add flake8 to our test suite and fix all errors (#7379) 2019-11-20 14:54:18 -08:00
new Use keymap instead of username variable for qmk new_keymap (#6885) 2019-10-05 23:41:15 -07:00
__init__.py Add CLI command for flashing a keyboard 2019-11-15 23:06:07 -08:00
cformat.py Fix cformat processing files within ignore folders (#8063) 2020-02-02 16:33:17 +00:00
compile.py Add QMK Compile Context Sensitivity (#6884) 2020-02-07 21:48:37 +01:00
config.py Add flake8 to our test suite and fix all errors (#7379) 2019-11-20 14:54:18 -08:00
docs.py Use os.chdir for qmk docs instead of a custom HTTP request handler (#7493) 2019-11-29 15:45:22 -08:00
doctor.py Qmk doctor os check to support newer msys2/w10 installations (#8031) 2020-01-28 22:21:00 +01:00
flash.py Also fix flash 2019-12-08 16:40:03 -08:00
hello.py Configuration system for CLI (#6708) 2019-09-22 13:25:33 -07:00
kle2json.py Add flake8 to our test suite and fix all errors (#7379) 2019-11-20 14:54:18 -08:00
pyformat.py Configuration system for CLI (#6708) 2019-09-22 13:25:33 -07:00
pytest.py Add flake8 to our test suite and fix all errors (#7379) 2019-11-20 14:54:18 -08:00