2016-01-15 15:07:57 +00:00
|
|
|
set :deploy_config_path, 'app/config/capistrano/deploy.rb'
|
|
|
|
set :stage_config_path, 'app/config/capistrano/deploy'
|
|
|
|
|
2015-08-14 19:26:14 +00:00
|
|
|
# Load DSL and set up stages
|
|
|
|
require 'capistrano/setup'
|
|
|
|
|
|
|
|
# Include default deployment tasks
|
|
|
|
require 'capistrano/deploy'
|
|
|
|
|
2016-10-29 12:14:20 +00:00
|
|
|
require 'capistrano/composer'
|
|
|
|
require 'capistrano/file-permissions'
|
2015-08-14 19:26:14 +00:00
|
|
|
require 'capistrano/symfony'
|
|
|
|
|
|
|
|
# Load custom tasks from `lib/capistrano/tasks` if you have any defined
|
|
|
|
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
|