mirror of
https://github.com/danog/psalm-plugin-laravel.git
synced 2024-11-30 04:39:01 +01:00
4032ba0091
this should get CI green again
18 lines
499 B
Bash
Executable File
18 lines
499 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
echo "Cleaning Up"
|
|
rm -rf ../lumen/
|
|
|
|
echo "Installing Lumen"
|
|
composer create-project laravel/lumen ../lumen 8.* --quiet --prefer-dist
|
|
cd ../lumen/
|
|
|
|
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 require --dev "psalm/plugin-laravel:*" -W
|
|
|
|
echo "Analyzing Lumen"
|
|
./vendor/bin/psalm -c ../psalm-plugin-laravel/tests/lumen-test-psalm.xml
|