.SHELLFLAGS := -eu -o pipefail -c
.ONESHELL:
.DELETE_ON_ERROR:

format: .formatstamp

.formatstamp:
	@echo "Formatting HTML..."
	@prettier --write --parser html --print-width 120 "public/**/*.html" > /dev/null
	@touch .formatstamp

clean:
	rm -rf ./public
	rm -rf ./.*stamp

.PHONY: all clean format compress