#!/usr/bin/env bash

# Run mjml command to convert all mjml templates to html files
DIR_MAILS="../backend/core/templates/mail/html/"

if [ ! -d "${DIR_MAILS}" ]; then
  mkdir -p "${DIR_MAILS}";
fi
mjml mjml/*.mjml -o "${DIR_MAILS}" --config.allowIncludes true;
