leemunroe / grunt-email-workflow

A Grunt workflow for designing and testing responsive HTML email templates with SCSS.
MIT License
3.05k stars 339 forks source link

Build individual templates #71

Closed mtsweir closed 8 years ago

mtsweir commented 8 years ago

If I wanted to run a grunt command to build individual templates is that possible?

e.g grunt templateOne or grunt templateTwo

leemunroe commented 8 years ago

Not currently. But you could use a flag to set something like that up e.g. grunt build --template=templateOne and then modify aliases.yaml and assemble.js to support it.

mtsweir commented 8 years ago

I'd love to see how you did the aliases part, and the way you configured your Gruntfile.js. The way its constructed is really nice, is there any places I can learn how you set this up?

leemunroe commented 8 years ago

Sure, take a look at https://github.com/firstandthird/load-grunt-config