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