From aab01da901992bcbca1b8822ce240eed8c8051d0 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Tue, 20 Apr 2021 11:40:03 -0700 Subject: [PATCH] the validator only borks on css after SVG, so it's fine to merge the css checking w/ the html checking as that works.. saves on invocation of java.. --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3bac916..90964a8 100644 --- a/Makefile +++ b/Makefile @@ -17,8 +17,7 @@ vnu.jar: vnu.jar_$(VNU_RELEASE).zip .PHONY: validate: vnu.jar hyde gen - java -jar vnu.jar --stdout $$(find deploy -name '*.html') | egrep -v 'Section lacks heading|Article lacks heading|Consider using the “h1” element as a top-level heading only' || true - java -jar vnu.jar --css --stdout $$(find deploy -name '*.css') + java -jar vnu.jar --also-check-css --stdout $$(find deploy -name '*.html' -o -name '*.css') | egrep -v 'Section lacks heading|Article lacks heading|Consider using the “h1” element as a top-level heading only' || true java -jar vnu.jar --svg --stdout $$(find deploy -name '*.svg') | egrep -v 'The value of attribute “unicode” on element “glyph” from namespace “http://www.w3.org/2000/svg” is not in Unicode Normalization Form C.' || true .PHONY: update-tufte-css