View Source Igniter.Project.Deps (igniter v0.4.8)
Codemods and utilities for managing dependencies declared in mix.exs
Summary
Functions
Adds a dependency to the mix.exs file.
Gets the current dependency declaration in mix.exs for a given dependency.
Removes a dependency from mix.exs
Sets a dependency option for an existing dependency
Functions
Adds a dependency to the mix.exs file.
|> Igniter.Project.Deps.add_dep({:my_dependency, "~> X.Y.Z"})
Options
:yes?
- Automatically answer yes to any prompts.:append?
- Append to the dependency list instead of prepending.:error?
- Returns an error instead of a notice on failure.
This function is deprecated. Use `add_dep/2` or `add_dep/3` instead..
Gets the current dependency declaration in mix.exs for a given dependency.
Removes a dependency from mix.exs
Sets a dependency option for an existing dependency