Merge remote-tracking branch 'origin/master' into develop

master
QMK Bot 2021-05-09 18:30:52 +00:00
commit 201dc6d024
1 changed files with 3 additions and 3 deletions

View File

@ -57,6 +57,7 @@ def multibuild(cli):
with open(makefile, "w") as f:
for keyboard_name in keyboard_list:
keyboard_safe = keyboard_name.replace('/', '_')
# yapf: disable
f.write(
f"""\
all: {keyboard_safe}_binary
@ -70,9 +71,8 @@ all: {keyboard_safe}_binary
|| printf "Build %-64s \e[1;32m[OK]\e[0m\\n" "{keyboard_name}:default"
@rm -f "{QMK_FIRMWARE}/.build/build.log.{keyboard_safe}" || true
"""
# noqa: yapf should not care about the formatting of the Makefile
"""# noqa
)
# yapf: enable
cli.run([make_cmd, '-j', str(cli.args.parallel), '-f', makefile, 'all'], capture_output=False, text=False)