set :deploy_config_path, '.capistrano/deploy.rb'
set :stage_config_path, '.capistrano/environments'

# Load DSL and Setup Up Stages
require 'capistrano/setup'

# Includes default deployment tasks
require 'capistrano/deploy'

# Load the SCM git plugin
require 'capistrano/scm/git'
install_plugin Capistrano::SCM::Git

# Load tasks from Capistrano Composer
require 'capistrano/composer'

# Load tasks from Capistrano WPCLI
require 'capistrano/wpcli'

# Loads custom tasks from `lib/capistrano/tasks' if you have any defined.
# Customize this path to change the location of your custom tasks.
Dir.glob('.capistrano/tasks/*.rb').each { |r| import r }
