elixir - Change the task name displayed by mix -


hello there have module one:

mix.tasks.mymodule.release.deploy 

and when run mix displayed this:

my_module.release.deploy 

how can change to

mymodule.release.deploy 

i tried use http://elixir-lang.org/docs/v1.0/mix/mix.task.html#task_name/1

def task_name(_)   "mymodule.release.deploy" end 

but no success. missing there?

indeed. camelcase translated lowercase underscores between 2 capital letters. if want mymodule, better write mymodule in first place.


Comments