diff --git a/Makefile b/Makefile index 19b6e05..cd1e544 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ debug: HAXE_FLAGS += -D webconsole --debug debug: build $(HAXE_PATH): $(shell find src -name '*.hx') - haxe build.hxml $(HAXE_FLAGS) --cmd "cp build/haxe.lua $(HAXE_PATH)" + haxe build.hxml $(HAXE_FLAGS) --cmd "mv build/_haxe.lua $(HAXE_PATH)" $(MIN_PATH): $(POLYFILL_PATH) node minify.js $(POLYFILL_PATH) $@ diff --git a/build.hxml b/build.hxml index 83fe752..0ecb83d 100644 --- a/build.hxml +++ b/build.hxml @@ -6,6 +6,7 @@ --dce full ---lua build/haxe.lua -D lua-vanilla -D lua-ver 5.1 + +--lua build/_haxe.lua