erase background
This commit is contained in:
13
Makefile
13
Makefile
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user