1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00

Rubocop fails faster than 'rake test'

This commit is contained in:
Dennis Günnewig 2014-09-09 09:14:45 +02:00
parent b78515ce91
commit fbe1585ce6

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'