not_clean 时不重复编译
This commit is contained in:
@@ -11,7 +11,8 @@ if __name__ == "__main__":
|
||||
time_start=time.time()
|
||||
if(len(sys.argv)>2):
|
||||
cmd=f"{' '.join(sys.argv[1:])} > build_log.log"
|
||||
os.system("python3 ../clear_output.py > /dev/null")
|
||||
if not ('not_clean' in sys.argv[1:]):
|
||||
os.system("python3 ../clear_output.py > /dev/null")
|
||||
path="../tools/gen_img/customer"
|
||||
if os.path.exists(path):
|
||||
shutil.rmtree(path)
|
||||
|
Reference in New Issue
Block a user