Define sys for Node.js target

This commit is contained in:
vroad
2015-01-23 16:47:55 +09:00
parent bc0eb77cc6
commit 35caf81a8d
3 changed files with 3 additions and 0 deletions

1
templates/nodejs/hxml/debug.hxml Executable file → Normal file
View File

@@ -2,6 +2,7 @@
-js ::NODE_FILE::
-cp ::BUILD_DIR::/nodejs/haxe
--macro allowPackage("flash")
--macro define("sys")
-D nodejs
-D js-flatten
-debug

View File

@@ -2,6 +2,7 @@
-js ::NODE_FILE::
-cp ::BUILD_DIR::/nodejs/haxe
--macro allowPackage("flash")
--macro define("sys")
-D nodejs
-D js-flatten
-D final

1
templates/nodejs/hxml/release.hxml Executable file → Normal file
View File

@@ -2,5 +2,6 @@
-js ::NODE_FILE::
-cp ::BUILD_DIR::/nodejs/haxe
--macro allowPackage("flash")
--macro define("sys")
-D nodejs
-D js-flatten