summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 17647f0..00506fa 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,11 @@
VENDOR=./vendor/bin/
+PHPUNIT=php -dxdebug.enabled=1 -dxdebug.mode=coverage ./vendor/bin/phpunit --coverage-text
test:
{ php -S 127.0.0.1:8081 >& /dev/null & }; \
PID=$$!; \
- $(VENDOR)phpunit; \
+ $(PHPUNIT); \
RES=$$?; \
kill $$PID; \
exit $$RES