erase background

This commit is contained in:
Priec
2026-06-01 22:47:24 +02:00
parent d8b622860c
commit 99f255fc29
11 changed files with 562 additions and 21 deletions

View File

@@ -1,4 +1,4 @@
.PHONY: help serve size validate clean
.PHONY: help serve size validate tidy ascii clean
help: ## Show this help
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | \
@@ -28,5 +28,14 @@ validate: ## Quick HTML sanity check (counts opening vs closing tags)
diff <(echo "$$open") <(echo "$$close") || true; \
done
clean: ## Remove generated artifacts
tidy: ## Run html-tidy on every .html
@for f in *.html; do echo "--- $$f ---"; tidy -e -q $$f || true; done
ascii: ## Regenerate the body-rain ASCII art (needs chafa)
@mkdir -p static/ascii
chafa -f symbols -c none -s 240x60 --symbols ascii --animate off \
static/img/og-image-bg.svg > static/ascii/rain.txt
@echo "Regenerated static/ascii/rain.txt (from static/img/og-image-bg.svg)"
clean: ## Remove build artefacts
@rm -rf bin/ node_modules/ dist/