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

Unified Diff: build.py

Issue 29501558: Issue 5383 - Add tests for the Chrome and Firefox packagers (Closed)
Patch Set: NO CHANGE Rebasing against #4720 @ PS 4 Created Oct. 18, 2017, 11:18 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 | « README.md ('k') | ensure_dependencies.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build.py
diff --git a/build.py b/build.py
index 7c6ac6448dfa5ad8f1667234de83251eb6767a70..aa3c2035eea5688fcbbd9468ccafa250757f161c 100644
--- a/build.py
+++ b/build.py
@@ -197,7 +197,10 @@ def runBuild(baseDir, scriptName, opts, args, type):
def createDevEnv(baseDir, scriptName, opts, args, type):
- import buildtools.packagerChrome as packager
+ if type == 'edge':
+ import buildtools.packagerEdge as packager
+ else:
+ import buildtools.packagerChrome as packager
file = StringIO()
packager.createBuild(baseDir, type=type, outFile=file, devenv=True, releaseBuild=True)
@@ -394,7 +397,7 @@ with addCommand(runBuild, 'build') as command:
with addCommand(createDevEnv, 'devenv') as command:
command.shortDescription = 'Set up a development environment'
command.description = 'Will set up or update the devenv folder as an unpacked extension folder for development.'
- command.supportedTypes = {'gecko', 'chrome'}
+ command.supportedTypes = {'gecko', 'chrome', 'edge'}
with addCommand(setupTranslations, 'setuptrans') as command:
command.shortDescription = 'Sets up translation languages'
« no previous file with comments | « README.md ('k') | ensure_dependencies.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld