summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xprocess-static5
1 files changed, 3 insertions, 2 deletions
diff --git a/process-static b/process-static
index a8e2e38d..ed3f2642 100755
--- a/process-static
+++ b/process-static
@@ -77,8 +77,9 @@ sed -i "$replace" static-tmp/releases.html
gixy nginx-tmp/nginx.conf
xmllint --noout static-tmp/**/*.html
-# check CSS first to work around a validator bug
-java -jar node_modules/vnu-jar/build/dist/vnu.jar --errors-only --also-check-css --also-check-svg static-tmp/**/*.css static-tmp/**/!(bimi).@(html|svg)
+java -jar node_modules/vnu-jar/build/dist/vnu.jar --errors-only static-tmp/**/*.html
+java -jar node_modules/vnu-jar/build/dist/vnu.jar --Werror --css static-tmp/**/*.css
+java -jar node_modules/vnu-jar/build/dist/vnu.jar --Werror --svg static-tmp/**/!(bimi).svg
find static-tmp -name '*.html' -exec html-minifier --collapse-whitespace \
--process-scripts "application/ld+json" --collapse-boolean-attributes \
--remove-attribute-quotes --remove-comments --remove-empty-attributes \