Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: build_release.py

Issue 11440031: Ignore errors from nmake, we expect some right now (Closed)
Patch Set: Created Aug. 9, 2013, 9:16 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build_release.py
===================================================================
--- a/build_release.py
+++ b/build_release.py
@@ -48,6 +48,9 @@
installerParams = os.environ.copy()
installerParams["VERSION"] = version
-subprocess.check_call(["nmake", "/A"], env=installerParams, cwd=os.path.join(basedir, "installer"))
+try:
+ subprocess.check_call(["nmake", "/A"], env=installerParams, cwd=os.path.join(basedir, "installer"))
+except subprocess.CalledProcessError:
+ print("An error occurred during nmake, continuing anyway")
sign(os.path.join(basedir, "build", "ia32", "adblockplusie-%s-en-us-ia32.msi" % version),
os.path.join(basedir, "build", "x64", "adblockplusie-%s-en-us-x64.msi" % version))
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld