refined haxe build step

This commit is contained in:
Djeeberjr 2022-03-12 17:18:00 +01:00
parent 7ff19b3ed5
commit 7f6e8bb273
2 changed files with 3 additions and 2 deletions

View File

@ -18,7 +18,7 @@ debug: HAXE_FLAGS += -D webconsole --debug
debug: build debug: build
$(HAXE_PATH): $(shell find src -name '*.hx') $(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) $(MIN_PATH): $(POLYFILL_PATH)
node minify.js $(POLYFILL_PATH) $@ node minify.js $(POLYFILL_PATH) $@

View File

@ -6,6 +6,7 @@
--dce full --dce full
--lua build/haxe.lua
-D lua-vanilla -D lua-vanilla
-D lua-ver 5.1 -D lua-ver 5.1
--lua build/_haxe.lua