Reputation: 4561
I want to build an application using 'mix' command.
mix new appname --module MODULE
But on the iex interpreter it isn't recognized
I read online another alternative to running what I want is to pass it as a script argument:
$ bin/elixir bin/mix new appname --module MODULE
but this doesn't work either
Upvotes: 2
Views: 694
Reputation: 19153
mix
is an executable that you need to run from your OS shell, not the Erlang/Elixir shell.
Upvotes: 5