Update build.sh
This commit is contained in:
parent
860c3889e2
commit
0b8e73fcd6
2
build.sh
2
build.sh
@ -6,4 +6,4 @@ HUGO_BIN="hugo"
|
||||
${HUGO_BIN}
|
||||
|
||||
# ahead of time compression and timestamp fixing
|
||||
find public/ -type f \( -name '*.html' -o -name '*.js' -o -name '*.css' -o -name '*.xml' -o -name '*.svg' \) -exec gzip -v -k -f --best {} \; -exec touch -r {} "{}.gz" \;
|
||||
find public/ -type f \( -name '*.html' -o -name '*.js' -o -name '*.css' -o -name '*.xml' -o -name '*.svg' \) -exec gzip -v -k -f --best "{}" \; -exec touch -r "{}" "{}.gz" \;
|
||||
|
Loading…
Reference in New Issue
Block a user