Created
April 28, 2010 14:30
-
-
Save danmayer/382209 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#note this only works if checklink is installed on the system | |
desc "link checking agaist dev site" | |
task :linkcheck do | |
result = `checklink -S 2 -s -b http://caliper-staging.heroku.com/` | |
if result.scan(/Code\:/).length > 1 | |
exit 1 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment