Skip to content

Commit

Permalink
Merge pull request #31 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 1d7ddf3 + 0f8bf50 commit 22164d7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
.PHONY: composer coverage cs infection it test
.PHONY: coverage cs infection it test

it: cs test

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:
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 22164d7

Please sign in to comment.