sintonia/legacy/Makefile
jo 45eda99ba3 Add php-cs-fixer setup
Exclude propel generated files from php-cs-fixer
2021-10-12 11:07:56 +02:00

19 lines
423 B
Makefile

.PHONY: build php-cs-fixer
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
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