Skip to content

Commit

Permalink
Fix 'qmk compile' mass_compile execution (#23296)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored Mar 31, 2024
1 parent e9f187f commit 319d9aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/python/qmk/cli/compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@ def compile(cli):
cli.args.filter = []
cli.config.mass_compile.keymap = cli.config.compile.keymap
cli.config.mass_compile.parallel = cli.config.compile.parallel
cli.config.mass_compile.no_temp = False
cli.args.no_temp = False
return mass_compile(cli)

# If we've received `-km all`, reroute it to mass-compile.
if cli.args.keymap == 'all':
from .mass_compile import mass_compile
cli.args.builds = [f'{cli.args.keyboard}:all']
cli.args.builds = [f'{cli.config.compile.keyboard}:all']
cli.args.filter = []
cli.config.mass_compile.keymap = None
cli.config.mass_compile.parallel = cli.config.compile.parallel
cli.config.mass_compile.no_temp = False
cli.args.no_temp = False
return mass_compile(cli)

# Build the environment vars
Expand Down

0 comments on commit 319d9aa

Please sign in to comment.