diff --git a/composer.json b/composer.json index d36788d..536aa44 100644 --- a/composer.json +++ b/composer.json @@ -55,6 +55,7 @@ "scripts": { "test": "phpunit", "test-coverage": "rm clover.xml && XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html=coverage --coverage-clover=clover.xml && vendor/bin/coverage-check clover.xml 100", + "test-coverage:win": "del clover.xml && phpunit --coverage-html=coverage --coverage-clover=clover.xml && coverage-check clover.xml 100", "lint": "phpstan --no-progress -cphpstan.neon", "beautify": "phpcbf --standard=phpcs.xml", "phpcs": "phpcs --standard=phpcs.xml -n" diff --git a/flight.sublime-project b/flight.sublime-project index 536f644..8f2848d 100644 --- a/flight.sublime-project +++ b/flight.sublime-project @@ -53,6 +53,11 @@ "name": "Format", "quiet": true, "shell_cmd": "composer beautify -- --no-colors" + }, + { + "name": "Test coverage", + "quiet": true, + "shell_cmd": "composer test-coverage:win -- --no-colors" } ], }