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' |