Sha256: c95fe799196bc82ddc6d1264918fcda37aa34fda2524ef0bf6445d35dfe9725a

Contents?: true

Size: 1.67 KB

Versions: 2

Compression:

Stored size: 1.67 KB

Contents

# CAPISTRANO
CAPFILE_VERSION = "<%= Negroku::VERSION %>"

# Load DSL and Setup Up Stages
require 'capistrano/setup'

# Includes default deployment tasks
require 'capistrano/deploy'

# Osx notifications
require 'capistrano-nc/nc'

# Github deployments
require 'capistrano/github'

# Ruby
<%= "#" unless config.rbenv.enabled? %>require 'capistrano/rbenv'
<%= "#" unless config.bundler.enabled? %>require 'capistrano/bundler'
<%= "#" unless config.rails.enabled? %>require 'capistrano/rails/assets'
<%= "#" unless config.rails.enabled? %>require 'capistrano/rails/migrations'

# Node
<%= "#" unless config.nodenv.enabled? %>require 'capistrano/nodenv'
<%= "#" unless config.bower.enabled? %>require 'capistrano/bower'

# App server
<%= "#" unless config.unicorn.enabled? %>require 'capistrano3/unicorn'

# Static server
<%= "#" unless config.nginx.enabled? %>require 'capistrano/nginx'

# Tools
<%= "#" unless config.delayed_job.enabled? %>require 'capistrano/delayed-job'
<%= "#" unless config.whenever.enabled? %>require 'whenever/capistrano'
<%= "#" unless config.sphinx.enabled? %>require 'thinking_sphinx/capistrano'

# Eye monitoring
require 'negroku/capistrano/eye'
<%= "#" unless config.unicorn.enabled? %>require 'negroku/capistrano/eye/unicorn'
<%= "#" unless config.delayed_job.enabled? %>require 'negroku/capistrano/eye/delayed_job'
<%= "#" unless config.sphinx.enabled? %>require 'negroku/capistrano/eye/thinking_sphinx'

# NEGROKU
# Includes negroku defaults, tasks and check for updates
require 'negroku/capistrano/deploy'
require 'negroku/capistrano/update'

# Loads custom tasks from `lib/capistrano/tasks' if you have any defined.
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
negroku-2.5.1 lib/negroku/templates/Capfile.erb
negroku-2.5.0 lib/negroku/templates/Capfile.erb