aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/vlad.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/vlad.rb')
-rw-r--r--lib/bundler/vlad.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/bundler/vlad.rb b/lib/bundler/vlad.rb
new file mode 100644
index 0000000000..db78f84baa
--- /dev/null
+++ b/lib/bundler/vlad.rb
@@ -0,0 +1,12 @@
+# frozen_string_literal: true
+# Vlad task for Bundler.
+#
+# Add "require 'bundler/vlad'" in your Vlad deploy.rb, and
+# include the vlad:bundle:install task in your vlad:deploy task.
+require "bundler/deployment"
+
+include Rake::DSL if defined? Rake::DSL
+
+namespace :vlad do
+ Bundler::Deployment.define_task(Rake::RemoteTask, :remote_task, :roles => :app)
+end