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

run spec before proofer

This commit is contained in:
Ben Balter 2016-01-15 18:04:07 -05:00
parent 415ac8a174
commit 698d603cc9

View File

@ -9,8 +9,8 @@ end
task :test do
sh "bundle exec jekyll build --trace"
HTML::Proofer.new("./_site", :check_html => true).run
Rake::Task["spec"].invoke
HTML::Proofer.new("./_site", :check_html => true).run
end
task :approved_licenses do
@ -20,7 +20,7 @@ task :approved_licenses do
puts "#{approved.count} approved licenses:"
puts approved.join(", ")
puts "\n"
potential = approved - licenses.map { |l| l["id"] }
puts "#{potential.count} potential additions:"
puts potential.join(", ")