summaryrefslogtreecommitdiff
path: root/process-static
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2022-06-30 04:40:50 -0400
committerDaniel Micay <danielmicay@gmail.com>2022-06-30 04:42:01 -0400
commit6a5103d5cd305b18c6087aab74edc616e0273bb2 (patch)
treea0f5ecd0ae907008e1aa046fefb27d02ef512aed /process-static
parentb31cb10a69272e3ea74a4adfd43115174a4a5152 (diff)
run gixy after template expansion
Diffstat (limited to 'process-static')
-rwxr-xr-xprocess-static4
1 files changed, 2 insertions, 2 deletions
diff --git a/process-static b/process-static
index 3b766089..85aab03b 100755
--- a/process-static
+++ b/process-static
@@ -24,8 +24,6 @@ RELEASES_BASE=${RELEASES_BASE:-https://releases.grapheneos.org}
rm -rf nginx-tmp
cp -a nginx nginx-tmp
-gixy nginx-tmp/nginx.conf
-
rm -rf static-tmp
cp -a static static-tmp
rm -rf static-tmp/js/fastboot/{!(dist),dist/!(fastboot.min.mjs|fastboot.min.mjs.map|vendor)}
@@ -74,6 +72,8 @@ for device in ${devices[@]}; do
done
sed -i "$replace" static-tmp/releases.html
+gixy nginx-tmp/nginx.conf
+
xmllint --noout static-tmp/**/*.html
validatornu --Werror --also-check-css --also-check-svg static-tmp/**/!(bimi).@(css|html|svg)
find static-tmp -name '*.html' -exec html-minifier --collapse-whitespace \