Sha256: 8c0a563463893feebbc89a736c5598bf14791da2cd705326018e81ca162ea69d

Contents?: true

Size: 988 Bytes

Versions: 1

Compression:

Stored size: 988 Bytes

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
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"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
negroku-2.0.0.pre5 lib/negroku/deploy.rb