Hi, What would be the correct way to wrap many separated tasks in one?
given in Capfile
desc "set environment for tb"
task :teambuilders do
set :rails_env, "production"
set :deploy_to, "/home/rails/teambuilders/#{application}"
end
desc "set environment for base app"
task :base do
set :rails_env, "development"
set :deploy_to, "/home/rails/base/#{application}"
end
suppose I'd like to run
something like
cap base deploy
cap teambuilders deploy
with a single cap task such as
cap all_builds deploy
task :all_build do
?????? how to call other task from within a task and having it taking
arguments (like deploy:symlink)
end
Thank you,
smime.p7s
Description: S/MIME cryptographic signature
