diff options
author | jomo <github@jomo.tv> | 2015-03-23 01:00:06 +0100 |
---|---|---|
committer | jomo <github@jomo.tv> | 2015-03-23 01:00:06 +0100 |
commit | 408956271dbe054b8d953fafaf5cf69e99790baa (patch) | |
tree | 4cb7c3757000f8027db7cee8e4648d5127cedb09 /Capfile | |
parent | 2237a5f510e57d027739eca844b06da38791562b (diff) |
more capistrano changes
Diffstat (limited to 'Capfile')
-rw-r--r-- | Capfile | 23 |
1 files changed, 20 insertions, 3 deletions
@@ -1,3 +1,20 @@ -load 'deploy' -load 'deploy/assets' -load 'config/deploy'
\ No newline at end of file +# Load DSL and set up stages +require 'capistrano/setup' + +# Include default deployment tasks +require 'capistrano/deploy' +require 'capistrano/rbenv' +require 'capistrano/bundler' +require 'capistrano/rails/assets' +require 'capistrano/rails/migrations' + +namespace :deploy do + desc 'Start application' + task(:start) {} + + desc 'Stop application' + task(:stop) {} +end + +# Load custom tasks from `lib/capistrano/tasks' if you have any defined +Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
\ No newline at end of file |