Browse Source

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..
main
John-Mark Gurney 2 years ago
parent
commit
aab01da901
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      Makefile

+ 1
- 2
Makefile View File

@@ -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


Loading…
Cancel
Save