diff options
Diffstat (limited to 'lib/python')
| -rwxr-xr-x | lib/python/build_all.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/python/build_all.py b/lib/python/build_all.py new file mode 100755 index 000000000..12963e8c9 --- /dev/null +++ b/lib/python/build_all.py @@ -0,0 +1,13 @@ +import subprocess +import os +import sys + +BOARDS = [ + 'keychron/k2/rgb'] + +error = False +for kb in BOARDS: + if subprocess.run(f"qmk compile -kb {kb} -km all -j{os.cpu_count()}", shell=True).returncode != 0: + error = True +if error: + sys.exit(1) |
