Where is the Mix module defined? Does it just come with Elixir? Does every Elixir project have a dependency on the Mix module?
Thanks
Where is the Mix module defined? Does it just come with Elixir? Does every Elixir project have a dependency on the Mix module?
Thanks
Yes, it’s included in Elixir. The code is at https://github.com/elixir-lang/elixir/tree/master/lib/mix It will be loaded with Elixir together.
Mix is part of elixir, yes. It is the default build-system in the elixir eco-system but if you really wan’t to, you can use anything else, but leaving mix
makes you make mix
s work, so I wouldn’t suggest to do that
Also the dependency on mix is compile time only. Once you distribute your compiled application, there is nothing left of Mix, unless you did something wrong preparing the release.