qmk_sweep_skeletyl/lib/python/qmk/cli/generate
Bao 590b405468
New CLI subcommand to create clang-compatible compilation database (compile_commands.json) (#14370)
* pulled source from dev branch

* missed a file from origin

* formatting

* revised argument names. relaxed matching rules to work for avr too

* add docstrings

* added docs. tightened up regex

* remove unused imports

* cleaning up command file. use existing qmk dir constant

* rename parser library file

* move lib functions into command file. there are only 2 and they aren't large

* currently debugging...

* more robustly find config

* updated docs

* remove unused imports

* reuse make executable from the main make command

* pulled source from dev branch

* missed a file from origin

* formatting

* revised argument names. relaxed matching rules to work for avr too

* add docstrings

* added docs. tightened up regex

* remove unused imports

* cleaning up command file. use existing qmk dir constant

* rename parser library file

* move lib functions into command file. there are only 2 and they aren't large

* currently debugging...

* more robustly find config

* updated docs

* remove unused imports

* reuse make executable from the main make command

* remove MAKEFLAGS from environment for better control over process management

* Update .gitignore

Co-authored-by: Michael Forster <forster@google.com>

* add a usage line to docs

* doc change as suggested

Co-authored-by: Nick Brassel <nick@tzarc.org>

* rename command

* remove debug print statements

* generate-compilation-database: fix arg handling

* generate-comilation-db: improve error handling

* use cli.run() instead of Popen()

Co-authored-by: Xton <cdewan@apple.com>
Co-authored-by: Christon DeWan <cmdpix@mac.com>
Co-authored-by: Michael Forster <forster@google.com>
Co-authored-by: Nick Brassel <nick@tzarc.org>
2021-09-16 14:59:57 +10:00
..
__init__.py Ensure that safe_commands always run (#13199) 2021-06-14 16:51:58 -07:00
api.py search for the readme in higher directories as well (#12997) 2021-05-24 19:38:27 -07:00
compilation_database.py New CLI subcommand to create clang-compatible compilation database (compile_commands.json) (#14370) 2021-09-16 14:59:57 +10:00
config_h.py Add config.h and rules.mk support for data driven keymaps (#12859) 2021-08-18 21:52:41 +01:00
dfu_header.py Add support for tab completion (#12411) 2021-04-14 19:00:22 -07:00
docs.py Align our subprocess usage with current best practices. (#12940) 2021-05-19 15:24:46 -07:00
info_json.py Add a lot more data to info.json (#13366) 2021-08-16 23:33:30 +01:00
keyboard_h.py Add config.h and rules.mk support for data driven keymaps (#12859) 2021-08-18 21:52:41 +01:00
layouts.py 2021 May 29 Breaking Changes Update (#13034) 2021-05-29 14:38:50 -07:00
rgb_breathe_table.py Fix generated file output while target exists (#12062) 2021-02-28 20:19:07 +00:00
rules_mk.py Add config.h and rules.mk support for data driven keymaps (#12859) 2021-08-18 21:52:41 +01:00
version_h.py CLI: Add subcommand to generate version.h (#13151) 2021-06-27 02:29:02 +10:00