mirror of
https://github.com/danog/psalm-plugin-laravel.git
synced 2024-11-30 04:39:01 +01:00
test(laravel): run make:* commands
This commit is contained in:
parent
723221a6c2
commit
5ecde44eb8
@ -9,6 +9,29 @@ echo "Installing Laravel"
|
||||
composer create-project --quiet --prefer-dist "laravel/laravel" ../laravel
|
||||
cd ../laravel/
|
||||
|
||||
echo "Preparing Laravel"
|
||||
./artisan make:cast ExampleCast
|
||||
./artisan make:channel ExampleChannel
|
||||
./artisan make:command ExampleCommand
|
||||
./artisan make:controller ExampleController
|
||||
./artisan make:event ExampleEvent
|
||||
./artisan make:exception ExampleException
|
||||
./artisan make:factory ExampleFactory
|
||||
./artisan make:job ExampleJob
|
||||
./artisan make:listener ExampleListener
|
||||
./artisan make:mail ExampleMail
|
||||
./artisan make:middleware ExampleMiddleware
|
||||
./artisan make:model Example
|
||||
./artisan make:notification ExampleNotification
|
||||
./artisan make:observer ExampleObserver
|
||||
./artisan make:policy ExamplePolicy
|
||||
./artisan make:provider ExampleProvider
|
||||
./artisan make:request ExampleRequest
|
||||
./artisan make:resource ExampleResource
|
||||
./artisan make:rule ExampleRule
|
||||
./artisan make:seeder ExampleSeeder
|
||||
./artisan make:test ExampleTest
|
||||
|
||||
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:*"
|
||||
|
Loading…
Reference in New Issue
Block a user