Tools - Set non zero exit code if any addons fail to build (#7937)

This commit is contained in:
Björn Dahlgren 2020-10-04 18:54:04 +02:00 committed by GitHub
parent e53bc23ebf
commit 4e83b387e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1499,6 +1499,9 @@ if __name__ == "__main__":
print("\nTotal Program time elapsed: {0:2}h {1:2}m {2:4.5f}s".format(h,m,s))
if ciBuild:
if len(failedBuilds) > 0:
sys.exit(1)
else:
sys.exit(0)
input("Press Enter to continue...")