diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-04 18:02:46 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-20 14:22:36 +0100 |
commit | ad9695eef7c26d5dd2872c7b737542530883bdb9 (patch) | |
tree | 6e13f45ffc34fa8615ca46e27b7fd1c5bb4f23ee | |
parent | 4e4911f1ce2e9f34096f0fdbdec5bb55cc1b181c (diff) | |
download | bundler-ad9695eef7c26d5dd2872c7b737542530883bdb9.tar.gz |
Merge the `:spec` namespace to a single block
-rw-r--r-- | Rakefile | 22 |
1 files changed, 10 insertions, 12 deletions
@@ -36,6 +36,11 @@ module Rake end end +desc "Run specs" +task :spec do + sh("bin/rspec") +end + namespace :spec do desc "Ensure spec dependencies are installed" task :deps do @@ -88,19 +93,7 @@ namespace :spec do Rake::Task["spec:deps"].invoke end end -end - -desc "Run specs" -task :spec do - sh("bin/rspec") -end -desc "Run RuboCop" -task :rubocop do - sh("bin/rubocop --parallel") -end - -namespace :spec do task :clean do rm_rf "tmp" end @@ -230,6 +223,11 @@ namespace :spec do end end +desc "Run RuboCop" +task :rubocop do + sh("bin/rubocop --parallel") +end + begin require "ronn" |