mirror of
https://git.checksum.fail/alec/mujs.git
synced 2025-12-10 13:09:57 +02:00
Update scripts/build-all
This commit is contained in:
@@ -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'
|
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():
|
def clang_format_src_files():
|
||||||
print("build-all: clang-format-src-files")
|
print("build-all: clang-format-src-files")
|
||||||
exclude_paths = ["mujs", "openlibm", ".iso.c"]
|
exclude_paths = ["mujs", "openlibm", ".iso.c"]
|
||||||
@@ -140,6 +143,7 @@ def run():
|
|||||||
raise ValueError("build-all: step 'run' failed, error code " + str(res))
|
raise ValueError("build-all: step 'run' failed, error code " + str(res))
|
||||||
|
|
||||||
def build_all():
|
def build_all():
|
||||||
|
kill_running_qemu_processes()
|
||||||
clang_format_src_files()
|
clang_format_src_files()
|
||||||
refresh_build_path()
|
refresh_build_path()
|
||||||
build_libtemple()
|
build_libtemple()
|
||||||
|
|||||||
Reference in New Issue
Block a user