Fix tools build
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
-main RunScript
|
-main RunScript
|
||||||
-neko ../run.n
|
-neko ../run.n
|
||||||
-lib hxtools
|
-lib lime-tools
|
||||||
-cp src
|
-cp src
|
||||||
|
|||||||
@@ -79,8 +79,8 @@ class RunScript {
|
|||||||
|
|
||||||
if (target == "tools") {
|
if (target == "tools") {
|
||||||
|
|
||||||
var toolsDirectory = PathHelper.getHaxelib (new Haxelib("hxtools"), true);
|
var toolsDirectory = PathHelper.getHaxelib (new Haxelib("lime-tools"), true);
|
||||||
var extendedToolsDirectory = PathHelper.getHaxelib (new Haxelib("hxtools-extended"), false);
|
var extendedToolsDirectory = PathHelper.getHaxelib (new Haxelib("lime-tools-extended"), false);
|
||||||
|
|
||||||
if (extendedToolsDirectory != null && extendedToolsDirectory != "") {
|
if (extendedToolsDirectory != null && extendedToolsDirectory != "") {
|
||||||
|
|
||||||
@@ -1078,11 +1078,11 @@ class RunScript {
|
|||||||
|
|
||||||
if (command == "setup") {
|
if (command == "setup") {
|
||||||
|
|
||||||
var toolsDirectory = PathHelper.getHaxelib (new Haxelib ("hxtools"));
|
var toolsDirectory = PathHelper.getHaxelib (new Haxelib ("lime-tools"));
|
||||||
|
|
||||||
if (toolsDirectory == null || toolsDirectory == "" || toolsDirectory.indexOf ("is not installed") > -1) {
|
if (toolsDirectory == null || toolsDirectory == "" || toolsDirectory.indexOf ("is not installed") > -1) {
|
||||||
|
|
||||||
Sys.command ("haxelib install hxtools");
|
Sys.command ("haxelib install lime-tools");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1190,7 +1190,7 @@ class RunScript {
|
|||||||
|
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
var args = [ "run", "hxtools" /*, define*/ ].concat (args);
|
var args = [ "run", "lime-tools" /*, define*/ ].concat (args);
|
||||||
|
|
||||||
Sys.exit (runCommand (workingDirectory, "haxelib", args));
|
Sys.exit (runCommand (workingDirectory, "haxelib", args));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user