Sha256: 378ccf69f1472392e2793fbc0b3d1e9ef3716bebd8f4f1d5511090c0fca59d89

Contents?: true

Size: 1.91 KB

Versions: 7

Compression:

Stored size: 1.91 KB

Contents

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

# Load DSL and Setup Up Stages
require 'active_support/all'
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'
<%= "#" unless config.rails.enabled? %>require 'capistrano/rails/console'

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

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

# 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.puma.enabled? %>require 'negroku/capistrano/eye/puma'
<%= "#" 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

7 entries across 7 versions & 1 rubygems

Version Path
negroku-2.8.6 lib/negroku/templates/Capfile.erb
negroku-2.8.5 lib/negroku/templates/Capfile.erb
negroku-2.8.4 lib/negroku/templates/Capfile.erb
negroku-2.8.3 lib/negroku/templates/Capfile.erb
negroku-2.8.2 lib/negroku/templates/Capfile.erb
negroku-2.8.1 lib/negroku/templates/Capfile.erb
negroku-2.8.0 lib/negroku/templates/Capfile.erb