mirror of
https://github.com/symfony/ai-bundle.git
synced 2026-03-23 23:12:08 +01:00
38 lines
777 B
Makefile
38 lines
777 B
Makefile
.PHONY: deps-stable deps-low cs rector phpstan tests coverage run-examples ci ci-stable ci-lowest
|
|
|
|
deps-stable:
|
|
composer update --prefer-stable --ignore-platform-req=ext-mongodb
|
|
|
|
deps-low:
|
|
composer update --prefer-lowest --ignore-platform-req=ext-mongodb
|
|
|
|
deps-dev:
|
|
composer require php-llm/llm-chain:dev-main
|
|
|
|
cs:
|
|
PHP_CS_FIXER_IGNORE_ENV=true vendor/bin/php-cs-fixer fix --diff --verbose
|
|
|
|
rector:
|
|
vendor/bin/rector
|
|
|
|
phpstan:
|
|
vendor/bin/phpstan --memory-limit=-1
|
|
|
|
tests:
|
|
vendor/bin/phpunit
|
|
|
|
coverage:
|
|
XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html=coverage
|
|
|
|
run-examples:
|
|
./example
|
|
|
|
ci: ci-stable
|
|
|
|
ci-stable: deps-stable rector cs phpstan tests
|
|
|
|
ci-lowest: deps-low rector cs phpstan tests
|
|
|
|
ci-dev: deps-dev rector cs phpstan tests
|
|
git restore composer.json
|