Hi there,
Is there proper way to describe depends in mix.exs file for new version hex?
My hex file has a dev
and test
dependencies described in project.deps
defp deps do
[
{:credo, "~> 0.4", only: :dev},
{:dialyxir, "~> 0.3.5", only: :dev},
{:ex_machina, "~> 1.0.2", only: :test},
{:ex_doc, "~> 0.13.0", only: :dev},
{:postgrex, "~> 0.12", optional: true},
{:ecto, "~> 2.0"}
]
end
Few hours ago I updated hex as mix suggest to me, then I tried to run mix hex.build
and got a error:
** (Mix) Stopping package build due to errors.
Excluded dependencies (not part of the Hex package):
credo
dialyxir
ex_machina
ex_doc
the question is how have to look new deps
function for properly work with new hex version?