summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2010-10-19 17:51:33 -0700
committerAndre Arko <andre@arko.net>2010-10-19 17:51:33 -0700
commit74ee1624a6fc12456f6e31319b58a5253cf762cf (patch)
tree413f12f4ea4eeabe8e96bc1f8976fbf30fb0fdf0 /Rakefile
parent2c82b5ea25701685fb8d37b25c36864261c808ce (diff)
downloadbundler-74ee1624a6fc12456f6e31319b58a5253cf762cf.tar.gz
Minor rakefile organization
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index a8fdc7ab78..911b5b7f1f 100644
--- a/Rakefile
+++ b/Rakefile
@@ -28,6 +28,9 @@ begin
end
namespace :spec do
+ desc "Run the spec suite with the sudo tests"
+ task :sudo => ["set_sudo", "clean", "spec"]
+
task :set_sudo do
ENV['BUNDLER_SUDO_TESTS'] = '1'
end
@@ -40,9 +43,6 @@ begin
end
end
- desc "Run the spec suite with the sudo tests"
- task :sudo => ["set_sudo", "clean", "spec"]
-
namespace :rubygems do
# Rubygems 1.3.5, 1.3.6, and HEAD specs
rubyopt = ENV["RUBYOPT"]