Elixir mix tasks to add, remove and update dependencies from mix.exs (or Mix.Project)
Inspired by cargo-edit
If available in Hex, the package can be installed
by adding mix_edit
to your list of dependencies in mix.exs
:
def deps do
[
{:mix_edit, "~> 0.1.0"},
# or via github
{:mix_edit, github: "thomas9911/mix_edit"}
]
end
Or installed globally by:
mix archive.install hex mix_edit
# or via github
mix archive.install github thomas9911/mix_edit
and uninstalled globally by:
mix archive.uninstall mix_edit
mix edit.add ex_doc
mix edit.remove ex_doc
mix edit.update ex_doc
For more examples and options check the mix help edit.add
, mix help edit.ex_doc
, mix help edit.update
commands