From fbe1585ce6d58635e89e9db6c9354017a38f652f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dennis=20G=C3=BCnnewig?= Date: Tue, 9 Sep 2014 09:14:45 +0200 Subject: [PATCH] Rubocop fails faster than 'rake test' --- Rakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 5176f04e..70c8ab32 100644 --- a/Rakefile +++ b/Rakefile @@ -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'