forked from adamstac/sinatra-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Capfile
33 lines (24 loc) · 854 Bytes
/
Capfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# load DSL and setup stages
require 'capistrano/setup'
# includes default deployment tasks
require 'capistrano/deploy'
# includes rbenv support
require 'capistrano/rbenv'
# includes bundler tasks
require 'capistrano/bundler'
# enable OSX notifications
require 'capistrano-nc/nc'
# enable newrelic notifications
require 'capistrano/newrelic'
# enable datadog integration
require 'capistrano/datadog'
require 'yaml'
set :datadog_api_key, YAML.load_file(File.open('config/application.yml'))['development']['datadog_key']
#TODO: implement this
# https://github.com/cramerdev/capistrano-chef
#require 'capistrano/chef'
# includes migration tasks
#TODO: get migrations working
#require 'capistrano/rails/migrations'
# loads custom tasks from `lib/capistrano/tasks' if you have any defined.
Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r }