Rubocop fails faster than 'rake test'

remove_hooks
Dennis Günnewig 2014-09-09 09:14:45 +02:00
parent b78515ce91
commit fbe1585ce6
1 changed files with 2 additions and 1 deletions

View File

@ -43,10 +43,11 @@ end
desc 'Run tests for all middleman gems'
task :test do
Rake::Task['rubocop'].invoke
GEM_PATHS.each do |g|
Dir.chdir("#{File.join(ROOT, g)}") { sh "#{Gem.ruby} -S rake test" }
end
Rake::Task['rubocop'].invoke
end
desc 'Run specs for all middleman gems'