成功使用ninja编译ht.bin

This commit is contained in:
2025-01-17 16:35:20 +08:00
parent de211907a4
commit 2cb352f92c
11 changed files with 458 additions and 225 deletions

View File

@@ -13,9 +13,12 @@ if __name__ == "__main__":
cmd=f"{' '.join(sys.argv[1:])} > build_log.log"
if not ('not_clean' in sys.argv[1:]):
os.system("python3 ../clear_output.py > /dev/null")
os.remove("../make_flags.txt")
os.remove("../python_script_log.log")
os.system("python3 ../praper_vscode.py clear >> ../python_script_log.log")
try:
os.remove("../make_flags.txt")
os.remove("../python_script_log.log")
except Exception as e:
print(e)
# os.system("python3 ../praper_vscode.py clear >> ../python_script_log.log")
path="../tools/gen_img/customer"
if os.path.exists(path):
shutil.rmtree(path)