Explorar el Código

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 hace 3 años
padre
commit
aab01da901
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. +1
    -2
      Makefile

+ 1
- 2
Makefile Ver fichero

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


Cargando…
Cancelar
Guardar