summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-03-25 14:01:05 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-03-25 14:01:05 +0100
commit4fc5a81128c7e4eb9592a77b263796e68453efb9 (patch)
tree87fdf88541d9e1db4d7598c9c3ef08f0737024f7 /Rakefile
parent98810684331b659f44bc3e98a36ebbf0eb6d30fe (diff)
downloadbundler-4fc5a81128c7e4eb9592a77b263796e68453efb9.tar.gz
Describe automatiek tasks
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 83acb99e1c..d64e9cc789 100644
--- a/Rakefile
+++ b/Rakefile
@@ -309,12 +309,20 @@ begin
require "automatiek"
rescue LoadError
namespace :vendor do
+ desc "Vendor a specific version of molinillo"
task(:molinillo) { abort "We couldn't activate automatiek (#{automatiek_requirement}). Try `gem install automatiek:'#{automatiek_requirement}'` to be able to vendor gems" }
+
+ desc "Vendor a specific version of fileutils"
task(:fileutils) { abort "We couldn't activate automatiek (#{automatiek_requirement}). Try `gem install automatiek:'#{automatiek_requirement}'` to be able to vendor gems" }
+
+ desc "Vendor a specific version of thor"
task(:thor) { abort "We couldn't activate automatiek (#{automatiek_requirement}). Try `gem install automatiek:'#{automatiek_requirement}'` to be able to vendor gems" }
+
+ desc "Vendor a specific version of net-http-persistent"
task(:"net-http-persistent") { abort "We couldn't activate automatiek (#{automatiek_requirement}). Try `gem install automatiek:'#{automatiek_requirement}'` to be able to vendor gems" }
end
else
+ desc "Vendor a specific version of molinillo"
Automatiek::RakeTask.new("molinillo") do |lib|
lib.download = { :github => "https://github.com/CocoaPods/Molinillo" }
lib.namespace = "Molinillo"
@@ -322,6 +330,7 @@ else
lib.vendor_lib = "lib/bundler/vendor/molinillo"
end
+ desc "Vendor a specific version of thor"
Automatiek::RakeTask.new("thor") do |lib|
lib.download = { :github => "https://github.com/erikhuda/thor" }
lib.namespace = "Thor"
@@ -329,6 +338,7 @@ else
lib.vendor_lib = "lib/bundler/vendor/thor"
end
+ desc "Vendor a specific version of fileutils"
Automatiek::RakeTask.new("fileutils") do |lib|
lib.download = { :github => "https://github.com/ruby/fileutils" }
lib.namespace = "FileUtils"
@@ -336,6 +346,7 @@ else
lib.vendor_lib = "lib/bundler/vendor/fileutils"
end
+ desc "Vendor a specific version of net-http-persistent"
Automatiek::RakeTask.new("net-http-persistent") do |lib|
lib.download = { :github => "https://github.com/drbrain/net-http-persistent" }
lib.namespace = "Net::HTTP::Persistent"