From b1c561f2008f779a0f53a8a0f37c8d2bdd6e38eb Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 11 Jun 2020 20:41:30 +0100 Subject: [PATCH] Simplify paths in Makefile --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 897d155..b3a50bd 100644 --- a/Makefile +++ b/Makefile @@ -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