pipeline update
This commit is contained in:
7
Makefile
7
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user