Simplify paths in Makefile

This commit is contained in:
Oliver Davies 2020-06-11 20:41:30 +01:00
parent 343852ac8a
commit b1c561f200

View file

@ -1,13 +1,16 @@
PATH:=${PATH}:vendor/bin
.PHONY: *
static-code-analysis: vendor
php vendor/bin/psalm --show-info=true
static-code-analysis:
psalm --show-info=true
phpcs:
php vendor/bin/phpcs --standard=PSR2 src tests
phpcs --standard=PSR2 src tests
phpunit:
php vendor/bin/phpunit -v --color=always --testdox tests
echo ${PATH}
phpunit -v --color=always --testdox tests
test: phpunit phpcs