Browse Source

the various args to do validation don't work, validate each set of

files in it's own pass, and use find to identify them, since their
path name matching is broken..
main
John-Mark Gurney 3 years ago
parent
commit
6eaee01e98
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      Makefile

+ 3
- 1
Makefile View File

@@ -17,7 +17,9 @@ vnu.jar: vnu.jar_$(VNU_RELEASE).zip
.PHONY:
validate: vnu.jar
hyde gen
java -jar vnu.jar --skip-non-html --also-check-css --also-check-svg --stdout deploy | egrep -v 'Section lacks heading|Article lacks heading|Consider using the “h1” element as a top-level heading only'
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 --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
update-tufte-css:


Loading…
Cancel
Save