From 487b69331cb615a83f646d5cf887edba00fd66b4 Mon Sep 17 00:00:00 2001 From: cytopia Date: Tue, 24 Mar 2020 12:06:32 +0100 Subject: [PATCH] Use reproducible linkcheck --- docs/Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/docs/Makefile b/docs/Makefile index 08edb0c6..22f642b5 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -24,13 +24,11 @@ help: # ------------------------------------------------------------------------------------------------- linkcheck2: -ifeq ($(wildcard file1),) - bash -c 'curl -Ss -o linkcheck https://raw.githubusercontent.com/cytopia/linkcheck/master/linkcheck 2>/dev/null' -else - bash -c 'curl -Ss -o linkcheck -z linkcheck https://raw.githubusercontent.com/cytopia/linkcheck/master/linkcheck 2>/dev/null' -endif - chmod +x linkcheck - ./linkcheck -l -k -r 60 -t 30 -e rst -c '200,204' _includes/ + docker run \ + --rm \ + $$(tty -s && echo "-it" || echo) \ + -v $(PWD):/data \ + cytopia/linkcheck -l -k -r 60 -t 30 -e rst -c '200,204' _includes/ linkcheck: docker run \