From 7f6e8bb2739ccff0ce2842ae92e9d7c551f86c8d Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Sat, 12 Mar 2022 17:18:00 +0100 Subject: [PATCH] refined haxe build step --- Makefile | 2 +- build.hxml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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