mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-15 18:30:05 +00:00
disable remote links checks as it times out too often
This commit is contained in:
24
tests.sh
24
tests.sh
@@ -75,18 +75,18 @@ else
|
|||||||
remark -f -u validate-links *.md
|
remark -f -u validate-links *.md
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## test the doc with markdown-link-check
|
### test the doc with markdown-link-check
|
||||||
## https://github.com/tcort/markdown-link-check
|
### https://github.com/tcort/markdown-link-check
|
||||||
set +e
|
#set +e
|
||||||
which markdown-link-check >/dev/null 2>&1
|
#which markdown-link-check >/dev/null 2>&1
|
||||||
r="$?"
|
#r="$?"
|
||||||
set -e
|
#set -e
|
||||||
if [ "$r" != "0" ]; then
|
#if [ "$r" != "0" ]; then
|
||||||
echo "[WARNING] install \"markdown-link-check\" to test the doc"
|
# echo "[WARNING] install \"markdown-link-check\" to test the doc"
|
||||||
else
|
#else
|
||||||
for i in `find docs -iname '*.md'`; do markdown-link-check $i; done
|
# for i in `find docs -iname '*.md'`; do markdown-link-check $i; done
|
||||||
markdown-link-check README.md
|
# markdown-link-check README.md
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
## done
|
## done
|
||||||
echo "All test finished successfully in ${SECONDS}s"
|
echo "All test finished successfully in ${SECONDS}s"
|
||||||
|
|||||||
Reference in New Issue
Block a user