1
0
Fork 0

Brotli compression

This commit is contained in:
Daniel Kempkens 2016-02-29 14:54:13 +01:00
parent e8149c9dad
commit b9614073d3

View file

@ -5,9 +5,11 @@ compile: clean
@bundle exec jekyll build --lsi @bundle exec jekyll build --lsi
@echo "Done." @echo "Done."
compress: compress: compile
@echo "=== Compressing generated files" @echo "=== Compressing generated files"
@find ./_site -type f | xargs zopfli --gzip --i30 @find ./_site -type f | xargs zopfli --gzip --i30
@find ./_site -type f ! -name "*.gz" | xargs -I {} bro --quality 11 --input {} --output {}.br
@find ./_site -type f -name "*.br" | xargs chmod 644
@echo "Done." @echo "Done."
upload: upload: