summaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* CI: Add workflow for CLI testing (#7357)Joel Challis2020-02-081-7/+0
| | | Create GitHub Actions cli test workflow and remove travis runs of 'qmk pytest'
* Fix/remove missing package (#7897)dohq2020-01-281-8/+8
| | | | | | | | | | | | | | | | | | | | | | * [fix] yay instead pacman install bootloadhid * [fix] add needed option * [mod] output red color * [fix] overwrite avr-gcc package * [mod] disable install bootloadhid from aur and check already installed * Apply suggestions from code review Co-Authored-By: Joel Challis <git@zvecr.com> * Update util/linux_install.sh Co-Authored-By: Joel Challis <git@zvecr.com> Co-authored-by: Joel Challis <git@zvecr.com>
* Fix unknown key 'IndentPPDirectives' on CI (#7933)Joel Challis2020-01-191-1/+1
|
* Fix docker script and document (#7786)shela2020-01-101-0/+3
| | | Fixed error when keyboard parameter is omitted in interactive mode.
* Add creation of new keyboard in child directory (#6018)shikamiya2020-01-011-9/+12
| | | | | | | | | | | | | | * Add creation of new chlid keyboard * Add creation of new keyboard's parent directories * Remove redundant message and if statement * Divide creating new keyboard directory from copying template files * Fix variables of year placeholder * Fix filename of keyboard.[ch]
* Fix install for Linux Ubuntu (#7520)iKirin2019-12-021-5/+5
| | | | | | | | * Fix linux install for Ubuntu. It failed due to sh not supporting [ and pip being seperate from python3 * Adapted install function according to feedback * Fix style
* Specify Arm GCC 8 in macOS install script (#7509)fauxpark2019-11-291-1/+2
|
* Fix output file permissions when using docker build. (#7378)Nick Brassel2019-11-291-0/+1
|
* Install bootloadHid as part of qmk_install (#7463)Joel Challis2019-11-285-0/+26
| | | | | | | | | | | | | | * Install bootloadHid on macos * Install bootloadHid on windows * Highlight bootloadHID is now installed in docs * Update udev rules for bootloadHID * Install bootloadHid on some distros * fix caterina udev filename
* Remove vusb 'reset to bootloader' hid message due to security implications ↵Joel Challis2019-11-251-110/+0
| | | | (#7456)
* Fix clang-format logic within CI (#7386)Joel Challis2019-11-221-1/+1
|
* Improve and streamline MSYS2 installation (#7232)Drashna Jaelre2019-11-221-43/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Make MSYS force install * Cleanup msys script * Update to gcc 8.3 for arm and avr And cleanup install scripts for both * Fix path and scripts * Fix links * No confirmation for msys * Tweak arm function since file structure changed * Fix spacing and wording Co-Authored-By: fauxpark <fauxpark@gmail.com> * Only use MSYS2's make binary Co-Authored-By: fauxpark <fauxpark@gmail.com> * Some wordsmithing Co-Authored-By: Mikkel Jeppesen <2756925+Duckle29@users.noreply.github.com> * Add "disable download timeout" for download issues in MSYS Co-Authored-By: Mikkel Jeppesen <2756925+Duckle29@users.noreply.github.com> * Clean up URL for arm gcc download Co-Authored-By: Joel Challis <git@zvecr.com> * add pip Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Update ARM GCC on macOS to 8.3 (#7318)fauxpark2019-11-131-2/+2
|
* [CI] Revert to previous logic for branch name and changes (#7343)Joel Challis2019-11-121-2/+2
|
* CI - Fix change detection (#7038)Joel Challis2019-11-046-74/+63
| | | | | | * Fix travis change detection * Fix travis change detection - add back python ignore
* Template updates (#7221)fauxpark2019-11-011-0/+2
| | | | | | | | | | * Template updates * Flesh out info.json & keymap.c, and turn double spaces section into a list * Add enum to demonstrate layer naming * Semicolon
* Clean macos install script (#7186)Yadunand Prem2019-10-281-10/+10
|
* Remove build option firmware size impacts (#6947)Amber Holly2019-10-181-0/+40
| | | | | | | | | | | | | | | | | | | | | | * Update rules.mk template to remove build option size impacts * Add rules.mk cleaning script * Update all rules.mk files to remove build option firmware size impact messages * Remove references to feature filesize in documentation * Revert "Update all rules.mk files to remove build option firmware size impact messages" This reverts commit 7cfe70976bcc223bf47c960b2e6af8596df80a32. * Fix regex in cleanup script and exclude keymaps/ directories * Update quantum/template/avr/rules.mk Fixed missing tabs/spaces. Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Add python-pip as package dependency for archlinux (#7041)Yang Li2019-10-181-1/+2
|
* Move running pytest to travis_test (#7005)Joel Challis2019-10-142-19/+27
|
* Prevent clang-format messing up placeholder tokens within keyboard templates ↵fauxpark2019-10-102-3/+3
| | | | | | | | | | (#6790) * Use .template file extension for keyboard template files * Filter out .template files completely before passing to clang-format * Undo file extension stuff; just ignore quantum/template dir
* Port drivers.txt changes from the Toolbox (#6786)fauxpark2019-09-301-35/+2
|
* Configuration system for CLI (#6708)skullydazed2019-09-221-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rework how bin/qmk handles subcommands * qmk config wip * Code to show all configs * Fully working `qmk config` command * Mark some CLI arguments so they don't pollute the config file * Fleshed out config support, nicer subcommand support * sync with installable cli * pyformat * Add a test for subcommand_modules * Documentation for the `qmk config` command * split config_token on space so qmk config is more predictable * Rework how subcommands are imported * Document `arg_only` * Document deleting from CLI * Document how multiple operations work * Add cli config to the doc index * Add tests for the cli commands * Make running the tests more reliable * Be more selective about building all default keymaps * Update new-keymap to fit the new subcommand style * Add documentation about writing CLI scripts * Document new-keyboard * Update docs/cli_configuration.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update docs/cli_development.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update docs/cli_development.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update docs/cli_development.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Address yan's comments. * Apply suggestions from code review suggestions from @noahfrederick Co-Authored-By: Noah Frederick <code@noahfrederick.com> * Apply suggestions from code review Co-Authored-By: Noah Frederick <code@noahfrederick.com> * Remove pip3 from the test runner
* Add support for Void Linux systems to the qmk_install.sh script (#5526)Sorixelle2019-09-201-0/+23
| | | | | | | | | | | | * Add support for Void Linux systems to the qmk_install.sh script * Fix typos + grammatical edits in comments * Sort distributions by alphabetical order in linux_install.sh * Revert previous commit and sort Void packages in alphabetical order * Fix permissions on `util/linux_install.sh`
* Run the python tests inside dockerskullY2019-09-071-5/+5
|
* add missing apostrophesskullY2019-09-071-1/+1
|
* filter python from the list of things that trigger default buildsskullY2019-09-071-2/+2
|
* Add python tests to the travis checkskullY2019-09-071-1/+9
|
* Update docker_build.sh: indentation fix, error echo function (#6659)Konstantin Đorđević2019-09-071-8/+12
| | | | | | * Replace spaces with tab in docker_build.sh * Use errcho instead of echo >&2
* Add `dfu-programmer` to `pacman -S` (#6619)Cory Watson2019-09-021-5/+2
| | | | | | | | | | | | | | | * Add `dfu-programmer` to `pacman -S` (#6618) `dfu-programmer` now resides at `extra/dfu-programmer` and is no longer in the AUR * Add `--needed` option to `pacman -S` for efficiency * Fix * Update util/linux_install.sh Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Fix msys2 not installing any packages because it can't find clang (#6655)fauxpark2019-09-021-1/+1
|
* Add new files to the list of files that are formatted. (#6296)skullydazed2019-08-301-4/+4
|
* Enforce clang-format (#6293)skullydazed2019-08-304-3/+10
| | | | | | * Enforce clang-format on commit for core files * forgot about tests
* Add an alternative method for keyboard discovery to speed up build (#6073)Joel Challis2019-08-151-1/+7
| | | | | | | | | | | | * Add an alternative method for keyboard discovery to speed up build * Chain MAKEFLAGS for docker_build.sh * Slight improvement to number of items sent to sort * Remove debug line * Fix line escape
* Fix qmk_install.sh on Windows dropping to command prompt (#6488)fauxpark2019-08-061-1/+1
|
* Configure Vagrant to use qmk_base_container (#6194)Joel Challis2019-07-162-0/+45
| | | | | | | | | | * Initial conversion of vagrant to use qmkfm/base_container * Fix vagrant when using docker provider * Workaround for VirtualBox VM restarts * Generalise Vagrant docs slightly and add FAQ
* QMK CLI and JSON keymap support (#6176)skullydazed2019-07-155-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Script to generate keymap.c from JSON file. * Support for keymap.json * Add a warning about the keymap.c getting overwritten. * Fix keymap generating * Install the python deps * Flesh out more of the python environment * Remove defunct json2keymap * Style everything with yapf * Polish up python support * Hide json keymap.c into the .build dir * Polish up qmk-compile-json * Make milc work with positional arguments * Fix a couple small things * Fix some errors and make the CLI more understandable * Make the qmk wrapper more robust * Add basic QMK Doctor * Clean up docstrings and flesh them out as needed * remove unused compile_firmware() function
* Update docker util script and travis to use new base containerzvecr2019-07-143-3/+3
|
* Switch version incrementing to the command put together by @noroadsleft. (#6310)skullydazed2019-07-111-2/+1
| | | | | | | | * Switch version incrementing to the command put together by @noroadsleft. * Update util/travis_compiled_push.sh Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Fix typo in Gentoo docstring (#6303)zjp2019-07-101-1/+1
|
* Add copyright year placeholders to new keyboard script (#6280)fauxpark2019-07-081-0/+13
| | | | | | * Add copyright year placeholders to new keyboard script * More copyright header tweaks
* Fix linux_install.sh script for OpenSuse v 15.1 (#6251)Kenny Hung2019-07-051-1/+1
|
* Install avrdude in Arch/Manjaro Linux (#6132)Yusuke Nakamura2019-06-151-0/+1
| | | | avrdude is require package but not installed by script when arch linux.
* Change from avr-gcc@7 to @8 for MacDanny Nguyen2019-06-051-2/+2
|
* Initial attempt to fix docker creating files as rootzvecr2019-05-312-2/+2
|
* Use qmk docker image for travis CI buildszvecr2019-05-312-0/+14
|
* Clean up duped filenames om qmk.fm (#5822)Mikkel Jeppesen2019-05-281-2/+23
| | | Removes all binaries that don't correspond to an entry in the .keyboards file
* Add Solus support to linux_install.sh scriptchax2019-05-261-0/+1
| | | | added update-repo command before install command
* Add Solus support to linux_install.sh scriptchax2019-05-261-0/+21
|
* Fix arch installs as 8.1 is unavailable and #5456 has been merged (#5857)zvecr2019-05-141-2/+1
|