All posts

Force casing of mix/elixir project module

 elixir

By default Elixir will create the new project module passed to the mix generate with the CamelCase format but if you want your project to have specific module casing (like uppercase) you can pass the –module flag to mix.new. That looks like this:

mix new dev_decks --module DEVDECKS

The resulting project module:

name-overrides

Postscript:

I built two products to help fund continued efforts for this website, it would mean a lot if you would check them out:
1. 2500+ Words for the Undermotivated Software Engineer - A short essay I wrote on the titled topic ($3).
2. Build 3 Chrome Extensions in Under 2 Hours - A course I built to teach chrome extension development ($9-20).