Use reproducible linkcheck

This commit is contained in:
cytopia 2020-03-24 12:06:32 +01:00
parent 6984d43ff9
commit 487b69331c
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2

View File

@ -24,13 +24,11 @@ help:
# ------------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------------
linkcheck2: linkcheck2:
ifeq ($(wildcard file1),) docker run \
bash -c 'curl -Ss -o linkcheck https://raw.githubusercontent.com/cytopia/linkcheck/master/linkcheck 2>/dev/null' --rm \
else $$(tty -s && echo "-it" || echo) \
bash -c 'curl -Ss -o linkcheck -z linkcheck https://raw.githubusercontent.com/cytopia/linkcheck/master/linkcheck 2>/dev/null' -v $(PWD):/data \
endif cytopia/linkcheck -l -k -r 60 -t 30 -e rst -c '200,204' _includes/
chmod +x linkcheck
./linkcheck -l -k -r 60 -t 30 -e rst -c '200,204' _includes/
linkcheck: linkcheck:
docker run \ docker run \