summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-03-27 13:39:01 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-03-28 17:40:54 +0100
commit07a7ae29c51e878f9ab31f2f3fa5511d4c209789 (patch)
tree615dbd1857e62ccf484fec5a45bc4c60f55ee3b9 /Rakefile
parentfd3cbc6fd487185acf8afdc0f043ac17c95ad9f1 (diff)
downloadbundler-07a7ae29c51e878f9ab31f2f3fa5511d4c209789.tar.gz
Add sudo and realworld task to the "co" namespace
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 9128893824..41d2aedd44 100644
--- a/Rakefile
+++ b/Rakefile
@@ -148,6 +148,11 @@ namespace :spec do
sh("bin/rspec --format progress")
end
+ namespace "co" do
+ task :sudo => ["set_sudo", "co", "clean_sudo"]
+ task :realworld => ["set_realworld", "co"]
+ end
+
task "setup_co" do
rg = File.expand_path ENV["RG"]
puts "Running specs against RubyGems in #{rg}..."