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

Unified Diff: build.py

Issue 29326043: Issue 3002 - Add and use getDevEnvPath function (Closed)
Patch Set: Created Sept. 7, 2015, 5:34 p.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 | packager.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 492782650784c9a77fd75ec3d7dd2b76d1bbaaf6..8431fb01d5fdd69c70774714b3ad865e3753fe30 100644
--- a/build.py
+++ b/build.py
@@ -226,7 +226,9 @@ def createDevEnv(baseDir, scriptName, opts, args, type):
file = StringIO()
packager.createBuild(baseDir, type=type, outFile=file, devenv=True, releaseBuild=True)
- devenv_dir = os.path.join(baseDir, 'devenv')
+ from buildtools.packager import getDevEnvPath
+ devenv_dir = getDevEnvPath(baseDir)
+
shutil.rmtree(devenv_dir, ignore_errors=True)
file.seek(0)
« no previous file with comments | « no previous file | packager.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld