summaryrefslogtreecommitdiff
path: root/Makefile
blob: 5f7688375cd127145a83459bcc84928d88c29344 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
check:
	sh aux/assert-shellcheck.sh
	sh aux/workflow/assert-todos.sh
	sh scripts/assert-spelling.sh
	sh scripts/extract-translations.sh
	sh scripts/apply-translations.sh

dev-check: check

clean:
	rm -rf public/ _site/

public: clean
	sh aux/workflow/public.sh website website public-inbox ||:
	mv public/index.html public/README.html
	JEKYLL_ENV=production jekyll build --trace
	mv _site public

publish: clean public
	rsync -avzP public/ euandre.org:/home/user-data/www/default/ --delete

serve:
	JEKYLL_ENV=production jekyll serve --future --livereload --trace

.PHONY: clean check dev-check publish serve