2018-11-02 19:07:56 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-06-01 05:49:40 -04:00
|
|
|
require_relative "shared_helpers"
|
2019-04-14 02:01:35 -04:00
|
|
|
Bundler::SharedHelpers.major_deprecation 2,
|
2018-11-02 19:07:56 -04:00
|
|
|
"The Bundler task for Vlad"
|
|
|
|
|
|
|
|
# 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.
|
2019-06-01 05:49:40 -04:00
|
|
|
require_relative "deployment"
|
2018-11-02 19:07:56 -04:00
|
|
|
|
|
|
|
include Rake::DSL if defined? Rake::DSL
|
|
|
|
|
|
|
|
namespace :vlad do
|
|
|
|
Bundler::Deployment.define_task(Rake::RemoteTask, :remote_task, :roles => :app)
|
|
|
|
end
|