🧑‍💻(makefile) fix mails-clean-templates

Fix the `no rule for mails-clean-templates` error when running
`make bootsrap`.
This commit is contained in:
Quentin BEY
2025-03-14 10:46:17 +01:00
parent d5eb736343
commit 03600f243e

View File

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