You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
cli New CLI subcommand to create clang-compatible compilation database (`compile_commands.json`) (#14370) 4 years ago
tests Remove bin/qmk (#14231) 4 years ago
__init__.py
c_parse.py Remove width, height and key_count from info.json (#14274) 4 years ago
commands.py New CLI subcommand to create clang-compatible compilation database (`compile_commands.json`) (#14370) 4 years ago
comment_remover.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 6 years ago
constants.py Add support for STM32F407x MCUs. (#13718) 4 years ago
converter.py
datetime.py Generate api data on each push (#10609) 5 years ago
decorators.py CLI: Fix automagic (#13046) 5 years ago
errors.py CLI/c2json: Print 'cpp' error when executed in verbose mode (#12869) 5 years ago
info.py Merge remote-tracking branch 'origin/master' into develop 4 years ago
json_encoders.py Remove references to info.json `width` and `height` in CLI (#13728) 4 years ago
json_schema.py Add a lot more data to info.json (#13366) 4 years ago
keyboard.py expand the size of the textpad to allow for taller keyboards (#13319) 5 years ago
keymap.py CLI/c2json: Print 'cpp' error when executed in verbose mode (#12869) 5 years ago
makefile.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 6 years ago
math.py [CLI] Add a subcommand for getting information about a keyboard (#8666) 6 years ago
path.py Add support for qmk_configurator style aliases (#11954) 5 years ago
submodules.py Align our subprocess usage with current best practices. (#12940) 5 years ago