lib/ms_deploy/recipes/defaults.rb in ms_deploy-0.1.2 vs lib/ms_deploy/recipes/defaults.rb in ms_deploy-0.1.3

- old
+ new

@@ -2,10 +2,11 @@ abort "You must run this using 'bundle exec ...'" unless ENV['BUNDLE_BIN_PATH'] || ENV['BUNDLE_GEMFILE'] abort "You must set :user before using defaults" unless fetch(:user, nil) abort "You must set :repository before using defaults" unless fetch(:repository, nil) abort "You must set :branch before using defaults" unless fetch(:branch, nil) + abort "You must set :deploy_to before using defaults" unless fetch(:deploy_to, nil) set :uptodate_scm, :git set :uptodate_branch, fetch(:branch) #:uptodate_scm_bynary ('git') - path to SCM binary #:uptodate_remote_repository ('origin') - remote repository @@ -30,9 +31,11 @@ set :keep_releases, 10 set :use_sudo, false set :group, user + + set :protocol, :both set :scm, :git set :git_enable_submodules, true # set deployment strategy