Adding pathtools flag because openfl-tools had helpers

This commit is contained in:
underscorediscovery
2013-09-05 19:07:34 -02:30
parent 6e0a6e5441
commit 4ae9097821
3 changed files with 8 additions and 1 deletions

BIN
run.n vendored

Binary file not shown.

View File

@@ -1,4 +1,5 @@
-main RunScript
-neko ../run.n
-lib openfl-tools
-D pathtools
-cp src

View File

@@ -7,6 +7,7 @@ import sys.io.File;
import sys.io.Process;
import sys.FileSystem;
#if pathtools
import helpers.PathHelper;
import helpers.FileHelper;
@@ -105,7 +106,12 @@ class RunScript {
Sys.println(" commands : ");
Sys.println("\ttest <target> \n\t Build and run");
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("");
return 0;
} //if we have enough args