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:
parent
7959b9aca4
commit
96fc8b143e
3
Rakefile
3
Rakefile
@ -10,7 +10,8 @@ end
|
|||||||
task :test do
|
task :test do
|
||||||
sh "bundle exec jekyll build --trace"
|
sh "bundle exec jekyll build --trace"
|
||||||
Rake::Task["spec"].invoke
|
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
|
end
|
||||||
|
|
||||||
task :approved_licenses do
|
task :approved_licenses do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user