Add haxelib-debug
This commit is contained in:
@@ -49,7 +49,7 @@ script:
|
||||
- haxelib run lime
|
||||
- haxelib
|
||||
- haxelib path lime
|
||||
- haxelib run lime build HelloWorld html5
|
||||
- haxelib run lime build HelloWorld html5 -haxelib-debug
|
||||
- haxelib run lime build SimpleAudio html5
|
||||
- haxelib run lime build SimpleImage html5
|
||||
#- haxelib run lime build TextRendering html5
|
||||
|
||||
@@ -1133,7 +1133,7 @@ class HXProject {
|
||||
} else {
|
||||
|
||||
var cache = LogHelper.verbose;
|
||||
LogHelper.verbose = false;
|
||||
LogHelper.verbose = HaxelibHelper.debug;
|
||||
var output = "";
|
||||
|
||||
try {
|
||||
|
||||
@@ -13,6 +13,7 @@ import sys.FileSystem;
|
||||
class HaxelibHelper {
|
||||
|
||||
|
||||
public static var debug = false;
|
||||
public static var pathOverrides = new Map<String, String> ();
|
||||
|
||||
private static var repositoryPath:String;
|
||||
@@ -84,7 +85,7 @@ class HaxelibHelper {
|
||||
if (repositoryPath == null) {
|
||||
|
||||
var cache = LogHelper.verbose;
|
||||
LogHelper.verbose = false;
|
||||
LogHelper.verbose = debug;
|
||||
var output = "";
|
||||
|
||||
try {
|
||||
@@ -155,7 +156,7 @@ class HaxelibHelper {
|
||||
if (!paths.exists (name)) {
|
||||
|
||||
var cache = LogHelper.verbose;
|
||||
LogHelper.verbose = false;
|
||||
LogHelper.verbose = debug;
|
||||
var output = "";
|
||||
|
||||
try {
|
||||
|
||||
@@ -2037,6 +2037,10 @@ class CommandLineTools {
|
||||
|
||||
includePaths.push (argument.substr (2));
|
||||
|
||||
} else if (argument == "-haxelib-debug") {
|
||||
|
||||
HaxelibHelper.debug = true;
|
||||
|
||||
} else if (argument == "-args") {
|
||||
|
||||
catchArguments = true;
|
||||
|
||||
Reference in New Issue
Block a user