From 4630f91f207b6c70966e6f7e260b04a3f0c655b6 Mon Sep 17 00:00:00 2001 From: Jean Carlo Emer Date: Mon, 20 Apr 2015 10:04:24 -0300 Subject: [PATCH] Remove check for some links Links to Tumblr or Wordpress doesnt allow ping. Check this issue for more information https://github.com/gjtorikian/html-proofer/issues/197. --- Rakefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 05618c4..50d681c 100644 --- a/Rakefile +++ b/Rakefile @@ -1,3 +1,5 @@ +require "html/proofer" + deploy_dir = "_deploy" task default: [:watch] @@ -10,7 +12,11 @@ end task :test do build_sass build_jekyll - fail unless system("htmlproof _site/") + HTML::Proofer.new("./_site", href_ignore: [ + "http://alistapart.com/article/responsive-web-design", + "http://blog.realstuffforabstractpeople.com/post/31753521367/classnames-for-styling-data-attributes-for-behavior", + "https://ajlopez.wordpress.com/2013/05/30/aplicaciones-distribuidas-y-node-js" + ]).run end task :watch do