aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 499cbbd05d394292a630a986dfadb6eb8f77be33 (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
26
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

clean:
	rm -rf public/ _site/

NAME_UC = website
NAME = $(NAME_UC)
MAILING_LIST = public-inbox
OUT = public

public:
	JEKYLL_ENV=production jekyll build -d $(OUT) --trace
	sh aux/workflow/TODOs.sh $(NAME_UC) $(NAME) $(MAILING_LIST)

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