compile-all.py -> exit on error

This commit is contained in:
zaCade 2018-08-08 17:09:08 +02:00
parent 8ddfc4c296
commit d4b9a3887b

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)