restore import_assets
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2026-01-17 22:26:34 +01:00
parent ffa82e8f92
commit b6d0823875
2 changed files with 298 additions and 0 deletions

View File

@@ -25,6 +25,15 @@ $(OUTPUT): $(SRC) $(ORDER)
echo "" >> $(OUTPUT); \
done < $(ORDER)
import_assets:
@for t in $(ASSET_TYPES); do \
for f in $(ASSETS_DIR)/$$t/*.png; do \
[ -e "$$f" ] || continue; \
echo "==> Importing $$f as $$t..."; \
tic80 --cli --skip --fs=. --cmd="import $$t $$f & exit"; \
done; \
done
export_assets: build
@echo "==> Exporting TIC-80 asset sections"
@mkdir -p inc/meta