Adding pathtools flag because openfl-tools had helpers
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
-main RunScript
|
-main RunScript
|
||||||
-neko ../run.n
|
-neko ../run.n
|
||||||
-lib openfl-tools
|
-lib openfl-tools
|
||||||
|
-D pathtools
|
||||||
-cp src
|
-cp src
|
||||||
@@ -7,6 +7,7 @@ import sys.io.File;
|
|||||||
import sys.io.Process;
|
import sys.io.Process;
|
||||||
import sys.FileSystem;
|
import sys.FileSystem;
|
||||||
|
|
||||||
|
|
||||||
#if pathtools
|
#if pathtools
|
||||||
import helpers.PathHelper;
|
import helpers.PathHelper;
|
||||||
import helpers.FileHelper;
|
import helpers.FileHelper;
|
||||||
@@ -105,7 +106,12 @@ class RunScript {
|
|||||||
Sys.println(" commands : ");
|
Sys.println(" commands : ");
|
||||||
Sys.println("\ttest <target> \n\t Build and run");
|
Sys.println("\ttest <target> \n\t Build and run");
|
||||||
Sys.println("\tbuild <target> \n\t Build");
|
Sys.println("\tbuild <target> \n\t Build");
|
||||||
Sys.println("\tcreate <sample> <?name> \n\t Create a copy of <sample> inside pwd");
|
|
||||||
|
#if pathtools
|
||||||
|
Sys.println("\tcreate <sample> <?name> \n\t Create a copy of <sample> inside present working directory");
|
||||||
|
Sys.println("\tcopy <target> <output_folder> \n\t Copy the bin folder for <target> to <output_folder>");
|
||||||
|
#end
|
||||||
|
|
||||||
Sys.println("");
|
Sys.println("");
|
||||||
return 0;
|
return 0;
|
||||||
} //if we have enough args
|
} //if we have enough args
|
||||||
|
|||||||
Reference in New Issue
Block a user