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

Side by Side Diff: build_release.py

Issue 10969028: Removed outdated InnoSetup installer and renamed WixInstaller directory into the canonical installer (Closed)
Patch Set: Created June 20, 2013, 6:47 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « InnoSetup/License.txt ('k') | installer/Makefile » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 2
3 import sys, os, re, subprocess 3 import sys, os, re, subprocess
4 4
5 if len(sys.argv) < 2: 5 if len(sys.argv) < 2:
6 print >>sys.stderr, "Please add a command line parameter with the path of the signing key file" 6 print >>sys.stderr, "Please add a command line parameter with the path of the signing key file"
7 sys.exit(1) 7 sys.exit(1)
8 8
9 basedir = os.path.dirname(os.path.abspath(sys.argv[0])) 9 basedir = os.path.dirname(os.path.abspath(sys.argv[0]))
10 key = sys.argv[1] 10 key = sys.argv[1]
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 "/p:Configuration=Release Test", 62 "/p:Configuration=Release Test",
63 platform 63 platform
64 ], env=buildParams) 64 ], env=buildParams)
65 65
66 plugin = {"ia32": "AdblockPlus.dll", "x64": "AdblockPlusx64.dll"}[arch] 66 plugin = {"ia32": "AdblockPlus.dll", "x64": "AdblockPlusx64.dll"}[arch]
67 sign(os.path.join(basedir, "build", arch, "Release Test", plugin), 67 sign(os.path.join(basedir, "build", arch, "Release Test", plugin),
68 os.path.join(basedir, "build", arch, "Release Test", "AdblockPlusEngine.ex e")) 68 os.path.join(basedir, "build", arch, "Release Test", "AdblockPlusEngine.ex e"))
69 69
70 installerParams = os.environ.copy() 70 installerParams = os.environ.copy()
71 installerParams["VERSION"] = version 71 installerParams["VERSION"] = version
72 subprocess.call(["nmake", "/A"], env=installerParams, cwd=os.path.join(basedir, "WixInstaller")) 72 subprocess.call(["nmake", "/A"], env=installerParams, cwd=os.path.join(basedir, "installer"))
73 sign(os.path.join(basedir, "build", "ia32", "adblockplusie-%s-en-us-ia32.msi" % version), 73 sign(os.path.join(basedir, "build", "ia32", "adblockplusie-%s-en-us-ia32.msi" % version),
74 os.path.join(basedir, "build", "x64", "adblockplusie-%s-en-us-x64.msi" % ver sion)) 74 os.path.join(basedir, "build", "x64", "adblockplusie-%s-en-us-x64.msi" % ver sion))
OLDNEW
« no previous file with comments | « InnoSetup/License.txt ('k') | installer/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld