Pass -verbose to library handlers when in verbose mode

This commit is contained in:
Joshua Granick
2014-10-17 22:20:50 -07:00
parent 743fa93787
commit b3fae5dd66

View File

@@ -83,7 +83,15 @@ class AssetHelper {
for (handler in handlers) {
var outputFile = PathHelper.getTemporaryFile ();
ProcessHelper.runCommand ("", "haxelib", [ "run", handler, "process", temporaryFile, outputFile ]);
var args = [ "run", handler, "process", temporaryFile, outputFile ];
if (LogHelper.verbose) {
args.push ("-verbose");
}
ProcessHelper.runCommand ("", "haxelib", args);
if (FileSystem.exists (outputFile)) {