For the last year, I’ve had a ritual when creating new Elixir projects.

I’d type mix new my_app, then spend the next 2 minutes tidying up the generated files: removing the comments that obscured the code, moving the volatile stuff in mix.exs into module attributes, adding commas and the ends of lists, and so on.

Last month I decided that by investing just a couple of weeks, I could save myself those two-minute housekeeping sessions. And so was born mix_generator and mix_template, an open and extendable templating system for creating new projects.

I made a screencast showing how to use and extend it:

Please keep it clean, respectful, and relevant. I reserve the right to remove comments I don't feel belong.
  • NickName, E-Mail, and Website are optional. If you supply an e-mail, we'll notify you of activity on this thread.
  • You can use Markdown in your comment (and preview it using the magnifying glass icon in the bottom toolbar).