1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 04:40:09 +01:00

tell html-proofer to check http://choosealicense.com links locally

rather than externally
This commit is contained in:
Mike Linksvayer 2016-01-28 11:58:58 -08:00
parent 7959b9aca4
commit 96fc8b143e

View File

@ -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