mirror of
https://github.com/github/choosealicense.com
synced 2024-12-21 20:30:10 +01:00
run spec before proofer
This commit is contained in:
parent
415ac8a174
commit
698d603cc9
4
Rakefile
4
Rakefile
@ -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(", ")
|
||||
|
Loading…
x
Reference in New Issue
Block a user