summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-06-05 18:52:58 -0500
committerSamuel Giddins <segiddins@segiddins.me>2016-06-10 01:42:17 -0500
commitcfbe2b4b272242b404a6abb318edde030447707a (patch)
treed7562f75224cf57fad2b45b44495c63dad91621c /Rakefile
parent8c1b9e77b08b52018a7b1b38d51dcbcd168938f4 (diff)
downloadbundler-cfbe2b4b272242b404a6abb318edde030447707a.tar.gz
Add total bundler version trampolining via vendored postit
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 43c5c58237..9bc34e4177 100644
--- a/Rakefile
+++ b/Rakefile
@@ -296,10 +296,21 @@ begin
lib.prefix = "Bundler"
lib.vendor_lib = "lib/bundler/vendor/thor"
end
+
+ Automatiek::RakeTask.new("postit") do |lib|
+ lib.download = { :github => "https://github.com/bundler/postit" }
+ lib.namespace = "PostIt"
+ lib.vendor_lib = "lib/bundler/vendor/postit"
+
+ def lib.namespace_files
+ process_files(namespace, "BundlerVendoredPostIt")
+ end
+ end
rescue LoadError
namespace :vendor do
task(:molinillo) { abort "Install the automatiek gem to be able to vendor gems." }
task(:thor) { abort "Install the automatiek gem to be able to vendor gems." }
+ task(:postit) { abort "Install the automatiek gem to be able to vendor gems." }
end
end