Hello Elixir Community.
Some Elixir Module is not available in release like Mix.Generator, but in dev
environment works fine.
How can I make it available in my mix release
for deployment?
Hello Elixir Community.
Some Elixir Module is not available in release like Mix.Generator, but in dev
environment works fine.
How can I make it available in my mix release
for deployment?
mix
, being a build tool, is generally not available in releases. May I ask what are you trying to do with it?
I use to generate .odt report files based on .eex template.
I ended up by doing this {:mix, git: "https://github.com/elixir-lang/elixir.git", tag: "v1.14.3", sparse: "lib/mix", only: :prod}
EEx
is part of elixir core. You shouldn’t need mix for that.
You don’t need to do that. You can use the following to include extra applications of erlang/otp or elixir as dependencies to your propect.
def application do
[…, extra_applications: [:mix]]
end