mirror of
https://github.com/github/choosealicense.com
synced 2024-12-21 20:30:10 +01:00
tell html-proofer to check http://choosealicense.com links locally
rather than externally
This commit is contained in:
parent
7959b9aca4
commit
96fc8b143e
3
Rakefile
3
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user