Update scripts/build-all

This commit is contained in:
Alec Murphy 2025-06-10 07:13:13 -04:00
parent ef228d97a7
commit b11a59d211

View file

@ -26,6 +26,9 @@ templeos_iso_file = home_path + 'iso/TempleOS.ISO'
qemu_run_cmd = qemu_bin_path + ' ' + qemu_display + ' -enable-kvm -m 1024 -cdrom ' + qemu_slipstream_iso_file + ' -audiodev pa,id=snd0 -machine pcspk-audiodev=snd0 -debugcon stdio -boot d'
def kill_running_qemu_processes():
os.system('killall -e "' + qemu_bin_path + '"')
def clang_format_src_files():
print("build-all: clang-format-src-files")
exclude_paths = ["mujs", "openlibm", ".iso.c"]
@ -140,6 +143,7 @@ def run():
raise ValueError("build-all: step 'run' failed, error code " + str(res))
def build_all():
kill_running_qemu_processes()
clang_format_src_files()
refresh_build_path()
build_libtemple()