From c53b912a057d8aff3c72a750202d9915e0a8cf38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Sat, 17 Feb 2024 16:05:22 +0100 Subject: [PATCH] Fix: Order --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 23b2f9c321..784fe5218f 100644 --- a/Makefile +++ b/Makefile @@ -9,10 +9,6 @@ it: coding-standards tests ## Runs all the targets code-coverage: vendor ## Collects code coverage from running unit tests with phpunit/phpunit vendor/bin/phpunit --configuration=tests/phpunit.xml --coverage-text --testsuite=unit -.PHONY: help -help: ## Displays this list of targets with descriptions - @grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[32m%-30s\033[0m %s\n", $$1, $$2}' - .PHONY: code-coverage code-coverage: vendor ## Collects coverage from running tests with phpunit/phpunit tests/server start; vendor/bin/phpunit --configuration=tests/phpunit.xml --coverage-text; tests/server stop @@ -21,6 +17,10 @@ code-coverage: vendor ## Collects coverage from running tests with phpunit/phpun coding-standards: vendor ## Fixes code style issues with friendsofphp/php-cs-fixer vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --diff --show-progress=dots --verbose +.PHONY: help +help: ## Displays this list of targets with descriptions + @grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[32m%-30s\033[0m %s\n", $$1, $$2}' + .PHONY: tests tests: vendor ## Runs unit and end-to-end tests with phpunit/phpunit vendor/bin/phpunit --configuration=tests/phpunit.xml --testsuite=unit