blob: 1160176d1d02391159cc998748b8d4517bb6381a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
.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
|