aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 761d14f3d57c393fd2858e86175060aac212afec (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
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:
	sh aux/workflow/public.sh website website public-inbox
	JEKYLL_ENV=production jekyll build --trace
	rsync -a _site/ public

publish: 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