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

@@ -49,6 +49,15 @@ class PlatformTarget {
if (!Reflect.hasField (metaFields.rebuild, "ignore") && (command == "rebuild" || project.targetFlags.exists ("rebuild"))) {
LogHelper.info ("", "\n" + LogHelper.accentColor + "Running command: REBUILD" + LogHelper.resetColor);
// hack for now, need to move away from project.rebuild.path, probably
if (project.targetFlags.exists ("rebuild")) {
project.config.set ("project.rebuild.path", null);
}
rebuild ();
}