From 0c9bd8916f3a70a06aa8fc10faee5f805022913f Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Fri, 17 Jul 2015 10:34:46 -0700 Subject: [PATCH] Try to ignore XML files that are not project files when running Lime commands in the wrong directory --- tools/CommandLineTools.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/CommandLineTools.hx b/tools/CommandLineTools.hx index 8c36f0280..b268642c8 100644 --- a/tools/CommandLineTools.hx +++ b/tools/CommandLineTools.hx @@ -1259,7 +1259,7 @@ class CommandLineTools { } - if (project == null) { + if (project == null || 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;