Display 'lime rebuild tools' warning on missing NDLL files only in -verbose mode
This commit is contained in:
@@ -12,6 +12,7 @@ import sys.io.File;
|
|||||||
import sys.io.Process;
|
import sys.io.Process;
|
||||||
import sys.FileSystem;
|
import sys.FileSystem;
|
||||||
import helpers.FileHelper;
|
import helpers.FileHelper;
|
||||||
|
import helpers.LogHelper;
|
||||||
import helpers.PathHelper;
|
import helpers.PathHelper;
|
||||||
import helpers.PlatformHelper;
|
import helpers.PlatformHelper;
|
||||||
|
|
||||||
@@ -106,7 +107,11 @@ class RunScript {
|
|||||||
|
|
||||||
if (!FileSystem.exists (source)) {
|
if (!FileSystem.exists (source)) {
|
||||||
|
|
||||||
Sys.println ("Warning: Source path \"" + source + "\" does not exist");
|
if (flags.exists ("verbose")) {
|
||||||
|
|
||||||
|
LogHelper.warn ("", "Warning: Source path \"" + source + "\" does not exist");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
@@ -1087,6 +1092,7 @@ class RunScript {
|
|||||||
|
|
||||||
case "-v", "-verbose":
|
case "-v", "-verbose":
|
||||||
|
|
||||||
|
LogHelper.verbose = true;
|
||||||
flags.set ("verbose", "");
|
flags.set ("verbose", "");
|
||||||
defines.push ("-verbose");
|
defines.push ("-verbose");
|
||||||
|
|
||||||
@@ -1096,6 +1102,7 @@ class RunScript {
|
|||||||
|
|
||||||
case "-nocolor":
|
case "-nocolor":
|
||||||
|
|
||||||
|
LogHelper.enableColor = false;
|
||||||
Sys.putEnv ("HXCPP_NO_COLOR", "");
|
Sys.putEnv ("HXCPP_NO_COLOR", "");
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user