Fix rebuild

This commit is contained in:
Joshua Granick
2015-07-17 10:51:28 -07:00
parent 0c9bd8916f
commit 0e585e54c7

View File

@@ -1259,7 +1259,7 @@ class CommandLineTools {
}
if (project == null || project.sources.length == 0) {
if (project == null || (command != "rebuild" && project.sources.length == 0)) {
LogHelper.error ("You must have a \"project.xml\" file or specify another valid project file when using the '" + command + "' command");
return null;