From 96fc8b143e75475dd8b9557137d9cc721bbbad70 Mon Sep 17 00:00:00 2001 From: Mike Linksvayer Date: Thu, 28 Jan 2016 11:58:58 -0800 Subject: [PATCH] tell html-proofer to check http://choosealicense.com links locally rather than externally --- Rakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 1ff9aa0..f0f88ec 100644 --- a/Rakefile +++ b/Rakefile @@ -10,7 +10,8 @@ end task :test do sh "bundle exec jekyll build --trace" Rake::Task["spec"].invoke - HTML::Proofer.new("./_site", :check_html => true).run + HTML::Proofer.new("./_site", :check_html => true, + :href_swap => { %r{http://choosealicense.com} => "" }).run end task :approved_licenses do