aboutsummaryrefslogblamecommitdiff
path: root/Makefile
blob: b16670027fc6c0e7e3d4bfe63ab803a0c5128bb1 (plain) (tree)
1
2
3
4
5
6
7
8
9
      




                                          
 

                


                             

                                                              

                                                  
                              
 
               

                                                                             


                                                                        
                                           
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
	mv public/index.html public/README.html
	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