diff --git a/Makefile b/Makefile index 8bee7b9..3e70bd5 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ -.PHONY: all tests +.PHONY: all test -all: tests +all: test -tests: +test: php vendor/bin/phpcs - php vendor/bin/phpunit + phpdbg -qrr vendor/bin/phpunit -coverage: - php vendor/bin/phpunit --coverage-html build +coverage: test + @if [ "`uname`" = "Darwin" ]; then open build/coverage/index.html; fi diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 3540330..829e628 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -18,4 +18,10 @@ ./src + + + + + +