🧑‍💻(makefile) enforce generated mail clean

When used locally, you may have removed templates staying and
generarting old translations.
This commit is contained in:
Quentin BEY
2025-03-13 16:16:29 +01:00
committed by BEY Quentin
parent 803b2c1930
commit 9f1c1ea7dd

View File

@@ -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