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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -