lib/negroku/deploy.rb in negroku-2.0.0.pre1 vs lib/negroku/deploy.rb in negroku-2.0.0.pre2

- old
+ new

@@ -1,17 +1,29 @@ +require 'negroku/helpers' + # Base configuration -set :scm, :git +namespace :load do + task :defaults do -# set :format, :pretty -# set :log_level, :debug -set :pty, true + set :scm, :git -set :keep_releases, 5 + set :format, :pretty + set :log_level, :debug + set :pty, true -require 'negroku/helpers' + set :keep_releases, 5 + end +end + +# Load Negroku tasks load_task "negroku" load_task "rbenv" if was_required? 'capistrano/rbenv' load_task "nodenv" if was_required? 'capistrano/nodenv' load_task "bower" if was_required? 'capistrano/bower' load_task "bundler" if was_required? 'capistrano/bundler' +load_task "rails" if was_required? 'capistrano/rails' load_task "nginx" if was_required? 'capistrano/nginx' load_task "unicorn" if was_required? 'capistrano3/unicorn' +load_task "delayed_job" if was_required? 'capistrano/delayed-job' +load_task "whenever" if was_required? 'whenever/capistrano' + +load_task "log"