Commit 20fe5e6a authored by RomainBelorgey's avatar RomainBelorgey
Browse files

Update _capistrano

Add use of Capfile commands
parent fce68bbb
#compdef cap
#autoload
if [ -f config/deploy.rb ]; then
if [[ -f config/deploy.rb || -f Capfile ]]; then
if [[ ! -f .cap_tasks~ || config/deploy.rb -nt .cap_tasks~ ]]; then
echo "\nGenerating .cap_tasks~..." > /dev/stderr
cap --tasks | grep '#' | cut -d " " -f 2 > .cap_tasks~
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment