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:
parent
415ac8a174
commit
698d603cc9
4
Rakefile
4
Rakefile
@ -9,8 +9,8 @@ end
|
|||||||
|
|
||||||
task :test do
|
task :test do
|
||||||
sh "bundle exec jekyll build --trace"
|
sh "bundle exec jekyll build --trace"
|
||||||
HTML::Proofer.new("./_site", :check_html => true).run
|
|
||||||
Rake::Task["spec"].invoke
|
Rake::Task["spec"].invoke
|
||||||
|
HTML::Proofer.new("./_site", :check_html => true).run
|
||||||
end
|
end
|
||||||
|
|
||||||
task :approved_licenses do
|
task :approved_licenses do
|
||||||
@ -20,7 +20,7 @@ task :approved_licenses do
|
|||||||
puts "#{approved.count} approved licenses:"
|
puts "#{approved.count} approved licenses:"
|
||||||
puts approved.join(", ")
|
puts approved.join(", ")
|
||||||
puts "\n"
|
puts "\n"
|
||||||
|
|
||||||
potential = approved - licenses.map { |l| l["id"] }
|
potential = approved - licenses.map { |l| l["id"] }
|
||||||
puts "#{potential.count} potential additions:"
|
puts "#{potential.count} potential additions:"
|
||||||
puts potential.join(", ")
|
puts potential.join(", ")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user