Added composer (re)installation
This commit is contained in:
parent
2e0860713d
commit
b3e39f7cc9
5
start
5
start
@ -13,6 +13,11 @@ fi
|
||||
# Laravel Specific
|
||||
if [ "${role}" = "app" ]; then
|
||||
if [ "${env}" != "local" -a -r "artisan" ]; then
|
||||
# See if we need to refresh our dependancies
|
||||
if [[ -r composer.lock && ( -e .composer.refresh || ! -d vendor ) ]]; then
|
||||
composer install
|
||||
fi
|
||||
|
||||
echo "Caching configuration..."
|
||||
(php artisan config:cache && php artisan route:cache && php artisan view:cache)
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user