From ed3338aec51b7a36167139069f7e3d244afee223 Mon Sep 17 00:00:00 2001 From: Stefan Kreutz Date: Mon, 30 May 2022 11:18:20 +0200 Subject: Extract lychee configuration Thereby require HTTPS when available. --- lychee.toml | 4 ++++ script/check | 8 ++------ 2 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 lychee.toml diff --git a/lychee.toml b/lychee.toml new file mode 100644 index 0000000..b80d4e9 --- /dev/null +++ b/lychee.toml @@ -0,0 +1,4 @@ +exclude_loopback = true +exclude_private = true +require_https = true +format = "Detailed" diff --git a/script/check b/script/check index ca9845c..0e42b97 100755 --- a/script/check +++ b/script/check @@ -6,9 +6,5 @@ set -o xtrace cabal v2-run exe:site -- rebuild -# See also .lycheeignore file. -lychee \ - --exclude-loopback \ - --exclude-private \ - --format detailed \ - _site/ +# See also lychee.toml and .lycheeignore. +lychee _site -- cgit v1.2.3