update: Prepare...

This commit is contained in:
William Floyd 2020-03-13 06:58:59 +01:00
parent b008a725a5
commit e2ec63f407
Signed by untrusted user who does not match committer: william
GPG key ID: B3EEEDD81893CAF9

View file

@ -2,8 +2,12 @@
git pull git pull
if [ -d './static/images/generated/']; then
rm -r './static/images/generated/'
fi
find src -iname '*.sh' | while read -r __file; do find src -iname '*.sh' | while read -r __file; do
time ./${__file} time ./${__file} "$(dirname "${__file}")/"
done done
HUGO_ENV=production hugo --gc --minify HUGO_ENV=production hugo --gc --minify