only run composer install if there is a composer project

This commit is contained in:
Adrian Malacoda
2017-07-17 00:01:30 -05:00
parent 114bc5a051
commit 9be356b5ca

View File

@@ -17,4 +17,6 @@ if [[ "${EXT_VERSION}" ]]; then
git checkout -b "${EXT_VERSION}" "origin/${EXT_VERSION}" git checkout -b "${EXT_VERSION}" "origin/${EXT_VERSION}"
fi fi
if [[ -e "composer.json" ]]; then
composer install --no-dev composer install --no-dev
fi