From 698d603cc9db6e52bd8a6adc4309349776dfe01f Mon Sep 17 00:00:00 2001 From: Ben Balter Date: Fri, 15 Jan 2016 18:04:07 -0500 Subject: [PATCH] run spec before proofer --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 1ba4e3f..1ff9aa0 100644 --- a/Rakefile +++ b/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(", ")