Writing Mix Tasks for Fun and Profit.
I’m beginning to learn a little Elixir & Phoenix and I ran into a case where I wish I had a Mix task for something. Specifically I wanted to run npm
scripts with mix so I’d only have one command to run instead of both mix
and npm
for my toy Phoenix project.