1
0
Fork 0
mirror of synced 2024-11-18 23:25:35 -05:00
yadm/test/validate

24 lines
489 B
Text
Raw Normal View History

#!/bin/bash
set -e
msg() {
echo -e "\e[1;32m$*\e[0m"
}
2019-03-21 23:52:15 -04:00
find . -name \*.yml -print0 | xargs -0 yamllint -s
msg Success: yamllint passed
jekyll build -t --config _config.yml,_dev.yml
msg Success: Built jekyll site
jekyll serve --skip-initial-build --detach
msg Success: Serving jekyll site locally
/usr/gem/bin/htmlproofer \
--assume-extension \
--log-level=debug \
--http-status-ignore 429 \
2020-12-27 22:22:35 -05:00
--url-ignore /twitter.com/ \
_site
msg Success: Validated site with html-proofer