lib/negroku/deploy.rb in negroku-2.0.0.pre7 vs lib/negroku/deploy.rb in negroku-2.0.0
- old
+ new
@@ -14,9 +14,11 @@
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
+
+ after "deploy", "deploy:cleanup"
end
# Load Negroku tasks
load_task "negroku"
load_task "rbenv" if required? 'capistrano/rbenv'