/
glscene
/
pasdoc
Обзор
Документация
Войти
/
glscene
/
pasdoc
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/scripts/validate_html.sh
15 строк
509 B
Alex Merkel
Use v.Nu as HTML5 validator
18 окт 2018, 18:08
Не верифицирован
18 окт 2018, 18:08
edfee46
Код
Авторство
О чём код?
#!/bin/bash set -eu # This scripts runs v.Nu to check every *.html file in html/ subdirectory, # recursively. # It's meant to be run using `make validate_html' in parent directory. # # See ../README for comments. # check if vnu is available and fail otherwise command -v vnu >/dev/null 2>&1 || { printf "%s\n" \ "v.Nu has to be installed for HTML validation!" \ "See the README.md inside the tests directory to learn how..." 1>&2; exit 1; } vnu --skip-non-html --format text testcases_output/html/