🎉 Format all email messages with mjml

This commit is contained in:
Andrés Moya 2020-06-16 15:16:28 +02:00 committed by Andrey Antukh
parent b058b5d56a
commit 65c9c46a22
8 changed files with 1068 additions and 295 deletions

View file

@ -1,4 +1,7 @@
#!/usr/bin/env bash
npx mjml resources/emails-mjml/password-recovery/en.mjml -o resources/emails/password-recovery/en.html
for f in resources/emails-mjml/*/*.mjml
do
npx mjml $f -o `echo $f | sed -e "s/-mjml//" | sed -e "s/mjml/html/"`
done