Support -- (in addition to -args) for additional arguments (like 'lime test neko -- hello=world')
This commit is contained in:
@@ -2192,6 +2192,10 @@ class CommandLineTools {
|
||||
overrides.haxeflags.push (argument);
|
||||
catchHaxeFlag = false;
|
||||
|
||||
} else if (argument == "-args" || argument == "--") {
|
||||
|
||||
catchArguments = true;
|
||||
|
||||
} else if (catchArguments) {
|
||||
|
||||
additionalArguments.push (argument);
|
||||
@@ -2364,10 +2368,6 @@ class CommandLineTools {
|
||||
|
||||
HaxelibHelper.debug = true;
|
||||
|
||||
} else if (argument == "-args") {
|
||||
|
||||
catchArguments = true;
|
||||
|
||||
} else if (argument.substr (0, 1) == "-") {
|
||||
|
||||
if (argument == "-dce" || argument.substr (1, 1) == "-") {
|
||||
|
||||
Reference in New Issue
Block a user