-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from localheinz/feature/make-rule-syntax
Enhancement: Leverage Makefile rule syntax
- Loading branch information
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |