diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-25 14:01:05 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-25 14:01:05 +0100 |
commit | 4fc5a81128c7e4eb9592a77b263796e68453efb9 (patch) | |
tree | 87fdf88541d9e1db4d7598c9c3ef08f0737024f7 /Rakefile | |
parent | 98810684331b659f44bc3e98a36ebbf0eb6d30fe (diff) | |
download | bundler-4fc5a81128c7e4eb9592a77b263796e68453efb9.tar.gz |
Describe automatiek tasks
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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" |