pretty error reporting

This commit is contained in:
Niklas Kapelle 2024-08-17 00:48:53 +02:00
parent 39a7da716c
commit 2603527b67
Signed by: niklas
GPG Key ID: 4EB651B36D841D16

View File

@ -6,7 +6,7 @@ UNPACK_NAME = unpack.lua
UNPACK_POLYFILLED_NAME = unpack.polyfill.lua UNPACK_POLYFILLED_NAME = unpack.polyfill.lua
UNPACK_MINIFYD_NAME = unpack.min.lua UNPACK_MINIFYD_NAME = unpack.min.lua
BUILD_DIR = build BUILD_DIR = build
HAXE_FLAGS = HAXE_FLAGS = -D message.reporting=pretty
POLYFILLED_NAME = bundle.polyfill.lua POLYFILLED_NAME = bundle.polyfill.lua
POLYFILL_SRC = src/polyfill.lua POLYFILL_SRC = src/polyfill.lua
CREAFTOS_PATH = craftos CREAFTOS_PATH = craftos
@ -22,7 +22,7 @@ UNPACK_POLYFILLED_PATH := $(BUILD_DIR)/$(UNPACK_POLYFILLED_NAME)
all: clean build unpack all: clean build unpack
build: HAXE_FLAGS += -D analyzer-optimize --no-traces build: HAXE_FLAGS += -D analyzer-optimize
build: $(MIN_PATH) build: $(MIN_PATH)
debug: HAXE_FLAGS += -D webconsole -D error_stack --debug debug: HAXE_FLAGS += -D webconsole -D error_stack --debug