Add -dryrun flag for testing, improve the behavior of 'rebuild'

This commit is contained in:
Joshua Granick
2014-11-20 09:43:27 -08:00
parent 11a5eee0e9
commit 451a1ccc9a
6 changed files with 118 additions and 64 deletions

View File

@@ -188,8 +188,13 @@ class PathHelper {
try {
var cacheDryRun = ProcessHelper.dryRun;
ProcessHelper.dryRun = false;
output = ProcessHelper.runProcess (Sys.getEnv ("HAXEPATH"), "haxelib", [ "path", name ], true, true, true);
ProcessHelper.dryRun = cacheDryRun;
} catch (e:Dynamic) { }
LogHelper.verbose = cache;