2021-09-15 14:07:26 +02:00
|
|
|
.PHONY: build php-cs-fixer
|
2021-09-11 04:45:07 +02:00
|
|
|
|
|
|
|
SHELL = bash
|
|
|
|
|
|
|
|
vendor:
|
|
|
|
composer install --no-progress --no-interaction
|
|
|
|
|
|
|
|
test: vendor
|
|
|
|
cd tests && ../vendor/bin/phpunit
|
|
|
|
|
|
|
|
build:
|
|
|
|
composer install --no-progress --no-interaction --no-dev
|
2021-09-15 14:07:26 +02:00
|
|
|
|
|
|
|
tools/php-cs-fixer:
|
|
|
|
mkdir -p tools/php-cs-fixer
|
|
|
|
composer require --working-dir=tools/php-cs-fixer friendsofphp/php-cs-fixer
|
|
|
|
|
|
|
|
php-cs-fixer: tools/php-cs-fixer
|
|
|
|
tools/php-cs-fixer/vendor/bin/php-cs-fixer fix
|