Use phoenix and elixir version from mix.exs in task to create new phoeni...

...x apps. To avoid updating the template every time phoenix or elixir versions are changed.
I see. Does anyone do that? I tried making a new mix app and just added phoenix and cowboy as dependencies. Then within that directory I ran 

    mix phoenix.new mynewapp ~/tmp/mynewapp/

It just created an empty directory:

    * creating ~/tmp/waawaa/

Is that how the task is supposed to work?