Match / and . in Makefile help regex

This commit is contained in:
Kaj de Munter 2022-12-21 14:57:24 +01:00 committed by Maxime Helias
parent 4c521f329a
commit e4a090dd09

View File

@ -51,7 +51,7 @@ SYMFONY = $(PHP_CONT) bin/console
## —— 🎵 🐳 The Symfony Docker Makefile 🐳 🎵 —————————————————————————————————— ## —— 🎵 🐳 The Symfony Docker Makefile 🐳 🎵 ——————————————————————————————————
help: ## Outputs this help screen help: ## Outputs this help screen
@grep -E '(^[a-zA-Z0-9_-]+:.*?##.*$$)|(^##)' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}{printf "\033[32m%-30s\033[0m %s\n", $$1, $$2}' | sed -e 's/\[32m##/[33m/' @grep -E '(^[a-zA-Z0-9\./_-]+:.*?##.*$$)|(^##)' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}{printf "\033[32m%-30s\033[0m %s\n", $$1, $$2}' | sed -e 's/\[32m##/[33m/'
## —— Docker 🐳 ———————————————————————————————————————————————————————————————— ## —— Docker 🐳 ————————————————————————————————————————————————————————————————
build: ## Builds the Docker images build: ## Builds the Docker images