From 8ad3fa6fba3d328922ed326eea2a28b8dfc461c5 Mon Sep 17 00:00:00 2001 From: Ram Senthamarai Date: Mon, 9 Sep 2024 14:40:17 -0700 Subject: [PATCH] (chore): Ensure make help shows all commands --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 3adfb7269..fe69829ca 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ default: help help: @echo @echo make - @grep -E '^[a-zA-Z0-9 -]+:.*#' $(makefile) | sort | while read -r l; do printf " \033[1;32m$$(echo $$l | cut -f 1 -d':')\033[00m:$$(echo $$l | cut -f 2- -d'#')\n"; done + @grep -E '^[a-zA-Z0-9 _ -]+:.*#' $(makefile) | sort | while read -r l; do printf " \033[1;32m$$(echo $$l | cut -f 1 -d':')\033[00m:$$(echo $$l | cut -f 2- -d'#')\n"; done .PHONY: pip pip: # Runs pip install with the requirements.txt file @@ -24,12 +24,12 @@ update: .env # Updates the project's docker compose image. docker compose run app flask db history docker compose run app flask db upgrade -.PHONY: db_downgrade -db_downgrade: .env # Downgrades the db by one upgrade script each time it is run. +.PHONY: db-wngrade +db-downgrade: .env # Downgrades the db by one upgrade script each time it is run. docker compose run app flask db downgrade -.PHONY: db_reset -db_reset: .env +.PHONY: db-reset +db-reset: .env # Reinitializes the database. You need to run make update to apply all migrations after a reset. docker compose down --volumes .PHONY: dev