Sha256: a492fdf5c138bae8375ac8c406bbd8ad73101235e8eb513dbf659c32336752f0

Contents?: true

Size: 1.03 KB

Versions: 4

Compression:

Stored size: 1.03 KB

Contents

require 'negroku/helpers'

# Base configuration
namespace :load do
  task :defaults do

    set :scm, :git

    set :format, :pretty
    set :log_level, :debug
    set :pty, true

    set :keep_releases, 5

    set :linked_dirs, fetch(:linked_dirs, []) + %w{log tmp/pids tmp/cache tmp/sockets vendor/bundle public/system}

    set :linked_files, fetch(:linked_files, []) + %w{}
  end

  after "deploy", "deploy:cleanup"
end

# Load Negroku tasks
load_task "negroku"
load_task "rbenv"             if required? 'capistrano/rbenv'
load_task "nodenv"            if required? 'capistrano/nodenv'
load_task "bower"             if required? 'capistrano/bower'
load_task "bundler"           if required? 'capistrano/bundler'
load_task "rails"             if required? 'capistrano/rails'
load_task "nginx"             if required? 'capistrano/nginx'
load_task "unicorn"           if required? 'capistrano3/unicorn'
load_task "delayed_job"       if required? 'capistrano/delayed-job'
load_task "whenever"          if required? 'whenever/capistrano'
load_task "log"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
negroku-2.0.3 lib/negroku/deploy.rb
negroku-2.0.2 lib/negroku/deploy.rb
negroku-2.0.1 lib/negroku/deploy.rb
negroku-2.0.0 lib/negroku/deploy.rb