Andres Loeh
21585c18f3
hakyll check: return exit code of 0 on success
...
The old test returns an exit code of 1 whenever the number of
errors is >= 0, which should always be the case. The fix replaces
this with a test whether the number of errors is strictly > 0.
2014-02-11 11:07:43 +01:00
Marc-Antoine Perennou
82a38a742a
check: unescape internal uris
...
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2013-07-07 19:02:21 +02:00
Jasper Van der Jeugt
2895a05a19
Micro cleanup
2013-04-22 20:24:19 +02:00
Simonas Kazlauskas
63a3000f9c
Account for scheme-relative URLs
...
http://url.spec.whatwg.org/#concept-scheme-relative-url
2013-04-04 13:29:57 +03:00
Jasper Van der Jeugt
5e4adaecb2
Account for absolute paths in shouldIgnoreFile
2013-04-03 12:02:06 +02:00
Jasper Van der Jeugt
2cb444f250
Fix issue where: hasProtocol "foo" == True
...
See #129
2013-04-01 17:31:13 +02:00
Simonas Kazlauskas
128f10deb8
Properly implement protocol skipping in checker
...
Network.HTTP can only check if http:// and https:// links resolve,
however there is much more scheme names than just `mail:`, `http://` and
`https://`.
They would be handed off to internal URI checker and would fail.
2013-04-01 15:10:46 +03:00
Jasper Van der Jeugt
dbffc5ef10
Check for mailto: URLs
...
Closes #127
2013-03-27 14:02:56 +01:00
Jasper Van der Jeugt
5241e87f16
Make http-conduit dependency optional
2013-03-09 17:54:08 +01:00
Jasper Van der Jeugt
f4f837595d
Send user agent in ./site check
...
Closes #110
2013-02-19 13:11:51 +01:00
Jasper Van der Jeugt
ea953d3415
Ignore files sooner, small speedup
2013-02-06 22:40:18 +01:00
Jasper Van der Jeugt
9ea75c128c
Allow checking internal links only
2012-12-31 15:32:46 +01:00
Jasper Van der Jeugt
24273d0348
Remove verbosity from configuration
2012-12-31 15:16:14 +01:00
Jasper Van der Jeugt
506a67c274
Refactor & fixes for external link checker
2012-12-29 19:32:01 +01:00
Jasper Van der Jeugt
58e0d3f356
Draft external URL checker
2012-12-29 17:49:11 +01:00
Jasper Van der Jeugt
5d4d964fcc
Stub external url checking
2012-12-29 12:30:23 +01:00
Jasper Van der Jeugt
e947403d51
Link checker improvements
2012-12-29 11:36:53 +01:00
Jasper Van der Jeugt
5b1a675b94
Draft tool to check internal links
2012-12-29 10:41:05 +01:00