diff --git a/compile-all.py b/compile-all.py index c45c64e0..40e034c6 100755 --- a/compile-all.py +++ b/compile-all.py @@ -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)