diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-04 17:45:22 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-20 14:22:35 +0100 |
commit | 0f62ba3073b5371e427c882e3e63c3035861db4f (patch) | |
tree | c586af2860488d72ede77bd8632b54a459d44fc0 /Rakefile | |
parent | 3c229b275c4799067e62cec54e20283cc622b8b2 (diff) | |
download | bundler-0f62ba3073b5371e427c882e3e63c3035861db4f.tar.gz |
Simplify rubocop task
We shell out to the binstub so we no longer need the activation dance.
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -95,11 +95,12 @@ task :spec do sh("bin/rspec") end -begin - require "rubocop/rake_task" - rubocop = RuboCop::RakeTask.new - rubocop.options = ["--parallel"] +desc "Run RuboCop" +task :rubocop do + sh("bin/rubocop --parallel") +end +begin namespace :spec do task :clean do rm_rf "tmp" @@ -231,9 +232,7 @@ begin end end rescue LoadError - task :rubocop do - abort "Run `rake spec:deps` to be able to run rubocop" - end + nil end begin |