Skip to content

Commit 7c68bf5

Browse files
committed
add make test-links
1 parent fc27b98 commit 7c68bf5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,6 @@ clean-search:
4141
rm -f html/js/search.js
4242

4343
clean: clean-html clean-images clean-search
44+
45+
test-links: html/links.txt
46+
./test-links.sh

test-links.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
3+
wget -O- -i html/links.txt -B https://docs.perl6.org --method=HEAD 2>&1 | perl -ne '$_ =~ s/(.+)\n$/$1 /; print $_' | grep -v '200 OK'

0 commit comments

Comments
 (0)