diff options
author | Stefan Kreutz <mail@skreutz.com> | 2022-05-30 11:18:20 +0200 |
---|---|---|
committer | Stefan Kreutz <mail@skreutz.com> | 2022-05-30 11:18:20 +0200 |
commit | ed3338aec51b7a36167139069f7e3d244afee223 (patch) | |
tree | b877217cb52ae9a4ad4167b4c37c1a53660795bc | |
parent | 71924540624d898e93b20b94f61fa87b41f6100f (diff) | |
download | blog-ed3338aec51b7a36167139069f7e3d244afee223.tar |
Extract lychee configuration
Thereby require HTTPS when available.
-rw-r--r-- | lychee.toml | 4 | ||||
-rwxr-xr-x | script/check | 8 |
2 files changed, 6 insertions, 6 deletions
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 |