diff options
author | Nick Brassel <[email protected]> | 2023-11-15 16:24:54 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-11-15 16:24:54 +1100 |
commit | 49382107115f611a61f1f5e20a3b2a92000a35da (patch) | |
tree | 9820ecc000eda92ae6668427c6606f644b618460 /lib/python/qmk/cli/clean.py | |
parent | c4d3521ba6bc215f6bccc1892fe28cb83d61f0ef (diff) | |
download | qmk_firmware-49382107115f611a61f1f5e20a3b2a92000a35da.tar.gz qmk_firmware-49382107115f611a61f1f5e20a3b2a92000a35da.zip |
CLI refactoring for common build target APIs (#22221)
Diffstat (limited to 'lib/python/qmk/cli/clean.py')
-rw-r--r-- | lib/python/qmk/cli/clean.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/qmk/cli/clean.py b/lib/python/qmk/cli/clean.py index 72b7ffe810..bdec01e4b6 100644 --- a/lib/python/qmk/cli/clean.py +++ b/lib/python/qmk/cli/clean.py @@ -2,7 +2,7 @@ """ from subprocess import DEVNULL -from qmk.commands import create_make_target +from qmk.commands import find_make from milc import cli @@ -11,4 +11,4 @@ from milc import cli def clean(cli): """Runs `make clean` (or `make distclean` if --all is passed) """ - cli.run(create_make_target('distclean' if cli.args.all else 'clean'), capture_output=False, stdin=DEVNULL) + cli.run([find_make(), 'distclean' if cli.args.all else 'clean'], capture_output=False, stdin=DEVNULL) |