Add verbose message with font name
This commit is contained in:
@@ -974,6 +974,8 @@ class HXProject {
|
||||
var font = Font.fromFile (asset.sourcePath);
|
||||
embeddedAsset.fontName = font.name;
|
||||
|
||||
LogHelper.info ("", " - \x1b[1mDetecting font name:\x1b[0m " + asset.sourcePath + " \x1b[3;37m->\x1b[0m \"" + font.name + "\"");
|
||||
|
||||
} catch (e:Dynamic) {}
|
||||
|
||||
}
|
||||
|
||||
@@ -1030,8 +1030,13 @@ class CommandLineTools {
|
||||
|
||||
if (buildNumber == null || StringTools.startsWith (buildNumber, "git")) {
|
||||
|
||||
var cache = LogHelper.mute;
|
||||
LogHelper.mute = true;
|
||||
|
||||
var output = ProcessHelper.runProcess ("", "git", [ "rev-list", "HEAD", "--count" ], true, true, true);
|
||||
|
||||
LogHelper.mute = cache;
|
||||
|
||||
if (output != null) {
|
||||
|
||||
var value = Std.parseInt (output);
|
||||
|
||||
Reference in New Issue
Block a user