mirror of
https://github.com/MonsterDruide1/OdysseyDecomp.git
synced 2025-02-17 03:38:44 +00:00
tools/build: Non-zero return code on build failure (#141)
This commit is contained in:
parent
02ff2d3814
commit
cf31535575
@ -55,7 +55,10 @@ def main():
|
||||
if paths != real_source_paths:
|
||||
touch_cmake_lists()
|
||||
|
||||
subprocess.run(cmake_args)
|
||||
try:
|
||||
subprocess.run(cmake_args, check=True)
|
||||
except subprocess.CalledProcessError:
|
||||
exit(1) # silently exit with failure if build failed
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
Loading…
x
Reference in New Issue
Block a user