Skip to content

Commit

Permalink
Tools - Set non zero exit code if any addons fail to build (#7937)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dahlgren authored Oct 4, 2020
1 parent e53bc23 commit 4e83b38
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/make.py
Original file line number Diff line number Diff line change
Expand Up @@ -1499,6 +1499,9 @@ def main(argv):
print("\nTotal Program time elapsed: {0:2}h {1:2}m {2:4.5f}s".format(h,m,s))

if ciBuild:
sys.exit(0)
if len(failedBuilds) > 0:
sys.exit(1)
else:
sys.exit(0)

input("Press Enter to continue...")

0 comments on commit 4e83b38

Please sign in to comment.