compile-all.py -> exit on error

This commit is contained in:
BotoX 2018-08-07 23:05:56 +02:00
parent 5a85455187
commit 0ae51e02d3

View File

@ -38,7 +38,9 @@ if __name__ == "__main__":
Compiler.append("-o" + OutPath)
try:
subprocess.call(Compiler)
err = subprocess.call(Compiler)
if err:
raise Exception()
except Exception:
sys.exit(1)