mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 19:09:44 +00:00
adding external link test with liche
This commit is contained in:
13
tests.sh
13
tests.sh
@@ -82,5 +82,18 @@ else
|
||||
remark -f -u validate-links *.md
|
||||
fi
|
||||
|
||||
## test the doc with liche
|
||||
## https://github.com/raviqqe/liche/
|
||||
set +e
|
||||
which liche >/dev/null 2>&1
|
||||
r="$?"
|
||||
set -e
|
||||
if [ "$r" != "0" ]; then
|
||||
echo "[WARNING] install \"liche\" to test the doc"
|
||||
else
|
||||
liche -r -v docs
|
||||
liche -v README.md
|
||||
fi
|
||||
|
||||
## done
|
||||
echo "All test finished successfully"
|
||||
|
||||
Reference in New Issue
Block a user