.PHONY: check
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

.PHONY: clean
clean:
	rm -rf public/ _site/

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

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