0

Be sure to exit with a non-zero code on build error

Previously, the return code was zero
This commit is contained in:
Andrew Chin
2016-12-24 13:57:27 -05:00
parent 1803178bc8
commit de67ed1bd3

View File

@@ -279,6 +279,7 @@ class CustomBuild(build):
print("at <http://docs.overviewer.org/en/latest/building/>. If you are") print("at <http://docs.overviewer.org/en/latest/building/>. If you are")
print("still having build problems, file an incident on the github tracker") print("still having build problems, file an incident on the github tracker")
print("or find us in IRC.") print("or find us in IRC.")
sys.exit(1)
class CustomBuildExt(build_ext): class CustomBuildExt(build_ext):
def build_extensions(self): def build_extensions(self):