From 9f1c1ea7dd08f15a3604c17f8688b9abdc5d7785 Mon Sep 17 00:00:00 2001 From: Quentin BEY Date: Thu, 13 Mar 2025 16:16:29 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=91=E2=80=8D=F0=9F=92=BB(makefile)=20e?= =?UTF-8?q?nforce=20generated=20mail=20clean?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When used locally, you may have removed templates staying and generarting old translations. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 21e4554..0c0b130 100644 --- a/Makefile +++ b/Makefile @@ -301,7 +301,11 @@ dimail-setup-db: # -- Mail generator -mails-build: ## Convert mjml files to html and text +mails-remove-templates: ## Remove the generated mail templates + rm -Rf "./src/backend/core/templates/mail" +.PHONY: mails-remove-templates + +mails-build: mails-clean-templates ## Convert mjml files to html and text @$(MAIL_YARN) build .PHONY: mails-build