refined haxe build step
This commit is contained in:
parent
7ff19b3ed5
commit
7f6e8bb273
2
Makefile
2
Makefile
@ -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) $@
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user