mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-03 08:25:11 +00:00
Merge remote-tracking branch 'origin/develop' into xap
This commit is contained in:
commit
e8ed843f44
@ -32,6 +32,7 @@ def compile(cli):
|
|||||||
If a keyboard and keymap are provided this command will build a firmware based on that.
|
If a keyboard and keymap are provided this command will build a firmware based on that.
|
||||||
"""
|
"""
|
||||||
if cli.args.clean and not cli.args.filename and not cli.args.dry_run:
|
if cli.args.clean and not cli.args.filename and not cli.args.dry_run:
|
||||||
|
if cli.config.compile.keyboard and cli.config.compile.keymap:
|
||||||
command = create_make_command(cli.config.compile.keyboard, cli.config.compile.keymap, 'clean')
|
command = create_make_command(cli.config.compile.keyboard, cli.config.compile.keymap, 'clean')
|
||||||
cli.run(command, capture_output=False, stdin=DEVNULL)
|
cli.run(command, capture_output=False, stdin=DEVNULL)
|
||||||
|
|
||||||
|
@ -61,6 +61,7 @@ def flash(cli):
|
|||||||
If bootloader is omitted the make system will use the configured bootloader for that keyboard.
|
If bootloader is omitted the make system will use the configured bootloader for that keyboard.
|
||||||
"""
|
"""
|
||||||
if cli.args.clean and not cli.args.filename and not cli.args.dry_run:
|
if cli.args.clean and not cli.args.filename and not cli.args.dry_run:
|
||||||
|
if cli.config.flash.keyboard and cli.config.flash.keymap:
|
||||||
command = create_make_command(cli.config.flash.keyboard, cli.config.flash.keymap, 'clean')
|
command = create_make_command(cli.config.flash.keyboard, cli.config.flash.keymap, 'clean')
|
||||||
cli.run(command, capture_output=False, stdin=DEVNULL)
|
cli.run(command, capture_output=False, stdin=DEVNULL)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user