Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib/yeoman/templates/Capfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ require 'capistrano/setup'
# Includes default deployment tasks
require 'capistrano/deploy'

# Load git submodules as necessary
require 'capistrano/git-submodule-strategy'

# Includes tasks from other gems included in your Gemfile
#
# For documentation on these, see for example:
Expand Down
1 change: 1 addition & 0 deletions lib/yeoman/templates/Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
source 'https://rubygems.org'

gem 'capistrano', '~> 3.2.1', require: false, group: :development
gem 'capistrano-git-submodule-strategy', '~> 0.1', require: false, group: :development
gem 'colored', '~> 1.2', require: false, group: :development
gem 'launchy', '~> 2.4', require: false, group: :development
3 changes: 3 additions & 0 deletions lib/yeoman/templates/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ GEM
i18n
rake (>= 10.0.0)
sshkit (~> 1.3)
capistrano-git-submodule-strategy (0.1.22)
capistrano (~> 3.1)
colored (1.2)
colorize (0.7.3)
i18n (0.6.9)
Expand All @@ -25,5 +27,6 @@ PLATFORMS

DEPENDENCIES
capistrano (~> 3.2.1)
capistrano-git-submodule-strategy (~> 0.1)
colored (~> 1.2)
launchy (~> 2.4)
1 change: 1 addition & 0 deletions lib/yeoman/templates/lib/capistrano/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
set :linked_dirs, %w{web/wp-content/uploads}
set :wp_path, "#{release_path}/web/wp"
set :www, <%= props.www ? 'true' : 'false' %>
set :git_strategy, Capistrano::Git::SubmoduleStrategy

namespace :deploy do
after :updated, :bower_install do
Expand Down