pipeline update
This commit is contained in:
7
Makefile
7
Makefile
@@ -46,8 +46,13 @@ export_assets: build
|
|||||||
$(OUTPUT) > $(ASSETS_LUA)
|
$(OUTPUT) > $(ASSETS_LUA)
|
||||||
|
|
||||||
export: build
|
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=. \
|
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:
|
watch:
|
||||||
make build
|
make build
|
||||||
|
|||||||
Reference in New Issue
Block a user