compile-all.py -> exit on error
This commit is contained in:
parent
5a85455187
commit
0ae51e02d3
@ -38,7 +38,9 @@ if __name__ == "__main__":
|
|||||||
Compiler.append("-o" + OutPath)
|
Compiler.append("-o" + OutPath)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
subprocess.call(Compiler)
|
err = subprocess.call(Compiler)
|
||||||
|
if err:
|
||||||
|
raise Exception()
|
||||||
except Exception:
|
except Exception:
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user