search for: before_task

Displaying 1 result from an estimated 1 matches for "before_task".

2006 Apr 25
0
Capistrano adding shared files
I''m finding the :before_task and :after_task facilities in Capistrano very useful. For example, I needed to add a shared directory to my system. All I had to do was add a few lines to deploy.rb: desc "Add shared usr_img directory to shared" task :after_setup do run <<-CMD mkdir -p -m 775 #{shared_path}...