2010-11-09 06:56:26 -07:00
|
|
|
_phing () {
|
|
|
|
if [ -f build.xml ]; then
|
2016-07-15 12:30:09 -07:00
|
|
|
compadd $(phing -l|grep -v "\[property\]"|grep -v "Buildfile"|sed 1d|grep -v ":$" |grep -v "^\-*$"|awk '{print $1}')
|
2010-11-09 06:56:26 -07:00
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
compdef _phing phing
|