aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 722aade164e1c81c9ba962813ff3d0831130a42a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
build:
	sh ./barf
	[ -d ./public/ ] && rsync -r public/ build/public || exit 0

clean:
	rm -rf build/*

watch:
	while true; do \
	ls -d .git/* * posts/* pages/* header.html | entr -cd make ;\
	done

.PHONY: build clean watch