ruby on rails - How do I invoke one Capistrano task from another? -
how invoke 1 capistrano task another?
for example:
task :foo # stuff end task :bar # invoke :foo end
you can using namespace:
namespace :test task :one end task :two test.one #or directly call it: 1 end end
just careful name use not overwrite important function.
Comments
Post a Comment