Commit Graph

25 Commits (40de65eac4e8d039470b91a678cd1f7fc83fc929)

Author SHA1 Message Date
Joel Challis e1de0d74a6
Move running pytest to travis_test (#7005) 6 years ago
skullydazed d569f08771
Configuration system for CLI (#6708)
* 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
6 years ago
skullY 6ca29f2b9b Run the python tests inside docker 6 years ago
skullY 16366dd23d add missing apostrophes 6 years ago
skullY 18690ddaea filter python from the list of things that trigger default builds 6 years ago
skullY 1013ae2d34 Add python tests to the travis check 6 years ago
zvecr 0a03f7cff7 Update docker util script and travis to use new base container 6 years ago
zvecr f9c0936cea Initial attempt to fix docker creating files as root 6 years ago
zvecr ba6b3fc1b5 Use qmk docker image for travis CI builds 6 years ago
zvecr 0ee4206bd0 Fix build detection of keymap and board changes 6 years ago
Drashna Jaelre d3f7910e68
Remove AUTOGEN and fix Travis Compiled Push scripts (#5077)
* Grab HEX and BIN files from autogen

And push them to qmk.fm/compiled

* Make autogen copy extension agnostic

This way, when travis cl scrpit looks for hex files, it will actually grab bin files, and not hex files for ARM boards

* Handle the AUTOGEN in :bin target to properly handle edge cases

Both the TADA68 and ATSAM boards generate the hex file and then convert it to a bin file. The changes I made does not handle this well, at all.  This removes the hex and replaces it with a bin, if a bin is normally generated.

* Revert hex target to original copy command

* Check hex and bin separately in compile push script

Since I don't know how to script this, well

* Simplify push to compiled folder

* Further simplify compiled push script

* Move AUTOGEN parsing to a more sane location to prevent tech debt

Thanks to skully!

* Remove AUTOGEN completely, as it's not needed

This has the benefit of making everything super simple, since we can pull every hex and bin from the root of the qmk_firmware folder, and move that to th compiled folder.  This also removes old and unneeded code, and removes some tech debt that has been accrued, without adding more, in theory.
6 years ago
Fredric Silberberg 5779ffb59a Set the executable bit for sh scripts under util. 7 years ago
Jack Humbert b669d115c2 adds planck light keyboard 8 years ago
Jack Humbert 115e49b2af only build default keymaps 8 years ago
Jack Humbert 800ec55dfc Make arguments redo, subproject elimination (#1784)
* redo make args to use colons, better folder structuring system [skip ci]

* don't put spaces after statements - hard lessons in makefile development

* fix-up some other rules.mk

* give travis a chance

* reset KEYMAPS variable

* start converting keyboards to new system

* try making all with travis

* redo make args to use colons, better folder structuring system [skip ci]

* don't put spaces after statements - hard lessons in makefile development

* fix-up some other rules.mk

* give travis a chance

* reset KEYMAPS variable

* start converting keyboards to new system

* try making all with travis

* start to update readmes and keyboards

* look in keyboard directories for board.mk

* update visualizer rules

* fix up some other keyboards/keymaps

* fix arm board ld includes

* fix board rules

* fix up remaining keyboards

* reset layout variable

* reset keyboard_layouts

* fix remainging keymaps/boards

* update readmes, docs

* add note to makefile error

* update readmes

* remove planck keymap warnings

* update references and docs

* test out tarvis build stages

* don't use stages for now

* don't use stages for now
8 years ago
Fred Sundvik 45d437ca04 Make only modified keymaps 8 years ago
Fred Sundvik a15510b57b Always build everything on master 8 years ago
Fred Sundvik 5acc0e54aa Make all subprojects when a keymap is modified 8 years ago
Jack Humbert ae6b803ad6 more than one en-file, and actually ignore docs 8 years ago
Jack Humbert bfc33a56d7 don't try to build the readme 8 years ago
Jack Humbert ad1327cd00 accept numbers in travis build 8 years ago
Jack Humbert de659486f5 pass through travis errors 8 years ago
Jack Humbert 616b8604b0 variable scope fix for travis 8 years ago
Jack Humbert 6a92cc2897 correctly assign bash variable 8 years ago
Jack Humbert 19d63ad72c try building only keyboards needed 8 years ago