|
@@ -77,8 +77,6 @@ class Generator {
|
|
|
try sys.FileSystem.createDirectory("build") catch( e : Dynamic ) {};
|
|
|
sys.io.File.saveContent("build/README.txt","This directory is automatically generated by samples/Script.hx using samples/templates");
|
|
|
|
|
|
- var hasHxBit = Sys.command("haxelib path hxbit") == 0;
|
|
|
-
|
|
|
for( f in sys.FileSystem.readDirectory(".") ) {
|
|
|
|
|
|
if( sys.FileSystem.isDirectory(f) || !StringTools.endsWith(f,".hx") )
|
|
@@ -92,8 +90,6 @@ class Generator {
|
|
|
var params = [];
|
|
|
if( sys.FileSystem.exists(name+"_res") )
|
|
|
params.push("-D resourcesPath=../../"+name+"_res");
|
|
|
- if( hasHxBit )
|
|
|
- params.push("-lib hxbit");
|
|
|
|
|
|
var content = sys.io.File.getContent(f);
|
|
|
~/\/\/PARAM=(.*)/g.map(content,function(r) { params.push(StringTools.trim(r.matched(1))); return ""; });
|