4
0

pipeline update

This commit is contained in:
2026-01-25 16:19:29 +01:00
parent 2fc241fee7
commit 928347ee95

View File

@@ -46,8 +46,13 @@ export_assets: build
$(OUTPUT) > $(ASSETS_LUA)
export: build
@{ \
VERSION=$$(sed -n 's/^-- version: //p' $(OUTPUT) | head -n 1); \
echo "==> Exporting HTML for version $$VERSION"; \
mkdir -p "$$VERSION"; \
tic80 --cli --skip --fs=. \
--cmd="load $(OUTPUT) & save $(PROJECT) & export html $(PROJECT).html & exit"
--cmd="load $(OUTPUT) & save $(PROJECT) & export html $$VERSION/$(PROJECT).html & exit"; \
}
watch:
make build