From 03600f243e8f304d61b618faa385ee24d1ec5a87 Mon Sep 17 00:00:00 2001 From: Quentin BEY Date: Fri, 14 Mar 2025 10:46:17 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=91=E2=80=8D=F0=9F=92=BB(makefile)=20f?= =?UTF-8?q?ix=20`mails-clean-templates`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix the `no rule for mails-clean-templates` error when running `make bootsrap`. --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0c0b130..b4043f8 100644 --- a/Makefile +++ b/Makefile @@ -301,9 +301,11 @@ dimail-setup-db: # -- Mail generator -mails-remove-templates: ## Remove the generated mail templates - rm -Rf "./src/backend/core/templates/mail" -.PHONY: mails-remove-templates +mails-clean-templates: ## Clean the generated mail templates directory + @echo "$(BOLD)Cleaning mail templates directory$(RESET)" + @rm -rf ./src/backend/core/templates/mail + @mkdir -p ./src/backend/core/templates/mail +.PHONY: mails-clean-templates mails-build: mails-clean-templates ## Convert mjml files to html and text @$(MAIL_YARN) build