mirror of
https://github.com/doctrine/automatic-releases.git
synced 2026-03-23 22:32:12 +01:00
27 lines
541 B
Makefile
27 lines
541 B
Makefile
.PHONY: *
|
|
|
|
help:
|
|
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
|
|
|
all: composer-validate static-analysis test no-leaks mutation-test cs ## run static analysis, tests, cs
|
|
echo "all good"
|
|
|
|
composer-validate:
|
|
composer validate
|
|
|
|
static-analysis:
|
|
vendor/bin/phpstan analyse
|
|
vendor/bin/psalm
|
|
|
|
test:
|
|
vendor/bin/phpunit
|
|
|
|
no-leaks:
|
|
vendor/bin/roave-no-leaks
|
|
|
|
mutation-test:
|
|
vendor/bin/infection --min-msi=58 --min-covered-msi=59
|
|
|
|
cs:
|
|
vendor/bin/phpcs
|