mirror of
https://github.com/danog/psalm-plugin-laravel.git
synced 2024-11-26 20:34:48 +01:00
update packages before requiring plugin-laravel
This commit is contained in:
parent
b116744fa2
commit
6091b656c4
@ -6,7 +6,7 @@ echo "Cleaning Up"
|
||||
rm -rf ../laravel/
|
||||
|
||||
echo "Installing Laravel"
|
||||
composer create-project --quiet --prefer-dist "laravel/laravel" ../laravel
|
||||
composer create-project laravel/laravel ../laravel --quiet --prefer-dist
|
||||
cd ../laravel/
|
||||
|
||||
echo "Preparing Laravel"
|
||||
@ -34,6 +34,7 @@ echo "Preparing Laravel"
|
||||
|
||||
echo "Adding package from source"
|
||||
sed -e 's|"type": "project",|&"repositories": [ { "type": "path", "url": "../psalm-plugin-laravel" } ],|' -i composer.json
|
||||
COMPOSER_MEMORY_LIMIT=-1 composer update -W
|
||||
COMPOSER_MEMORY_LIMIT=-1 composer require --dev "psalm/plugin-laravel:*" -W
|
||||
|
||||
echo "Analyzing Laravel"
|
||||
|
Loading…
Reference in New Issue
Block a user