summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-03-04 18:02:46 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-03-20 14:22:36 +0100
commitad9695eef7c26d5dd2872c7b737542530883bdb9 (patch)
tree6e13f45ffc34fa8615ca46e27b7fd1c5bb4f23ee
parent4e4911f1ce2e9f34096f0fdbdec5bb55cc1b181c (diff)
downloadbundler-ad9695eef7c26d5dd2872c7b737542530883bdb9.tar.gz
Merge the `:spec` namespace to a single block
-rw-r--r--Rakefile22
1 files changed, 10 insertions, 12 deletions
diff --git a/Rakefile b/Rakefile
index 9df58df9fe..97608dcce9 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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"