diff --git a/Makefile b/Makefile index 39a3625..80a2d90 100644 --- a/Makefile +++ b/Makefile @@ -8,3 +8,6 @@ install: uninstall: rm -f ./.git/hooks/pre-push if [ -d "./vendor/phpunit" ] ; then composer remove --dev phpunit/phpunit; fi + +check: + gaze '{src,tests}/**/*.php' -c "./vendor/phpunit/phpunit/phpunit --bootstrap vendor/autoload.php tests --testdox --color" diff --git a/composer.json b/composer.json index 026d73f..a5b2806 100644 --- a/composer.json +++ b/composer.json @@ -2,6 +2,7 @@ "name": "brunofontes/memsource-api", "description": "A personal memsource api to better understand how it works", "license": "GPL-3.0-or-later", + "version": "1.2", "authors": [ { "name": "Bruno F. Fontes", @@ -22,5 +23,6 @@ } ], "require-dev": { + "phpunit/phpunit": "^8" } }