Skip to content

Commit 5c0ff41

Browse files
committed
Switch rubocop task to execute after the tests
When you're developing, you're testing and haven't yet settled on the final state of the code so rubocop telling you you have some extra spaces somewhere when you're trying to run the test suite is not very useful. Instead, let's run the specs first and rubocop afterwards.
1 parent e2da5c2 commit 5c0ff41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ end
3838
require 'rubocop/rake_task'
3939
RuboCop::RakeTask.new(:rubocop)
4040

41-
task default: [:rubocop, :test, :spinach]
41+
task default: [:test, :spinach, :rubocop]

0 commit comments

Comments
 (0)