mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
parent
85b090ab67
commit
31eb508dc6
1 changed files with 9 additions and 7 deletions
16
README.md
16
README.md
|
@ -6,7 +6,7 @@
|
|||
|
||||
## Support
|
||||
|
||||
Need help with getting Capistrano up and running? Got a code problem you want to get solved quickly?
|
||||
Need help with getting Capistrano up and running? Got a code problem you want to get solved quickly?
|
||||
|
||||
Get <a href="http://codersclan.net/?repo_id=325&source=link">Capistrano support on CodersClan.</a>
|
||||
|
||||
|
@ -126,12 +126,14 @@ end
|
|||
The final way to call out to other tasks is to simply `invoke()` them:
|
||||
|
||||
``` ruby
|
||||
task :one do
|
||||
on roles(:all) { info "One" }
|
||||
end
|
||||
task :two do
|
||||
invoke :one
|
||||
on roles(:all) { info "Two" }
|
||||
namespace :example do
|
||||
task :one do
|
||||
on roles(:all) { info "One" }
|
||||
end
|
||||
task :two do
|
||||
invoke "example:one"
|
||||
on roles(:all) { info "Two" }
|
||||
end
|
||||
end
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue