Skip to content

Commit

Permalink
Merge pull request #23 from localheinz/feature/make-rule-syntax
Browse files Browse the repository at this point in the history
Enhancement: Leverage Makefile rule syntax
  • Loading branch information
localheinz authored Jan 24, 2018
2 parents 0ef5140 + 007ebf2 commit cf1d496
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
.PHONY: bench composer coverage cs infection it test
.PHONY: bench coverage cs infection it test

it: cs test bench

bench: composer
bench: vendor
vendor/bin/phpbench run --report=aggregate

composer:
composer self-update
composer validate
composer install

coverage: composer
coverage: vendor
vendor/bin/phpunit --configuration=test/Unit/phpunit.xml --coverage-text

cs: composer
cs: vendor
vendor/bin/php-cs-fixer fix --config=.php_cs --diff --verbose

infection:
infection: vendor
vendor/bin/infection --min-covered-msi=80 --min-msi=80

test: composer
test: vendor
vendor/bin/phpunit --configuration=test/Unit/phpunit.xml

vendor: composer.json composer.lock
composer self-update
composer validate
composer install

0 comments on commit cf1d496

Please sign in to comment.