Brotli compression
This commit is contained in:
parent
e8149c9dad
commit
b9614073d3
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -5,9 +5,11 @@ compile: clean
|
|||
@bundle exec jekyll build --lsi
|
||||
@echo "Done."
|
||||
|
||||
compress:
|
||||
compress: compile
|
||||
@echo "=== Compressing generated files"
|
||||
@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."
|
||||
|
||||
upload:
|
||||
|
|
Loading…
Reference in a new issue