summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2017-07-26 15:30:26 -0500
committerSamuel Giddins <segiddins@segiddins.me>2017-07-26 15:30:26 -0500
commit8bfb5ebc524e199ea0b0fce178d486213fae58cc (patch)
tree102d0581de53a71f9dd1ce9129bf20b7e9c0413e
parentf4a66bb46554bbbad7d4db3e7ec77d9280f1f1a4 (diff)
downloadbundler-8bfb5ebc524e199ea0b0fce178d486213fae58cc.tar.gz
Add a task to install a bundler 2 dev gemseg-bundler-2-tasks
-rw-r--r--task/bundler_2.rake10
1 files changed, 10 insertions, 0 deletions
diff --git a/task/bundler_2.rake b/task/bundler_2.rake
new file mode 100644
index 0000000000..b76b63d85f
--- /dev/null
+++ b/task/bundler_2.rake
@@ -0,0 +1,10 @@
+# frozen_string_literal: true
+
+namespace :bundler_2 do
+ task :install do
+ ENV["BUNDLER_SPEC_SUB_VERSION"] = "2.0.0.dev"
+ Rake::Task["spec:travis:sub_version"].invoke
+ Rake::Task["install"].invoke
+ sh("git", "checkout", "--", "lib/bundler/version.rb")
+ end
+end