|
|
|
@ -19,6 +19,9 @@ pear channel-discover pear.drush.org
|
|
|
|
|
|
|
|
|
|
# "prefer-source" required due to SSL shenanigans on the Travis boxes... |
|
|
|
|
composer global require --prefer-source 'squizlabs/php_codesniffer=*' 'sebastian/phpcpd=*' |
|
|
|
|
# Because we can't add to the PATH here and this file is used in many repos, |
|
|
|
|
# let's just throw symlinks in. |
|
|
|
|
find $HOME/.composer/vendor/bin -executable \! -type d -exec sudo ln -s {} /usr/local/sbin/ \; |
|
|
|
|
|
|
|
|
|
# Install Drush |
|
|
|
|
git clone https://github.com/drush-ops/drush.git |
|
|
|
|