View Source Igniter.Project.Deps (igniter v0.3.11)

Codemods and utilities for managing dependencies declared in mix.exs

Summary

Functions

Link to this function

add_dep(igniter, dep, opts \\ [])

View Source

Adds a dependency to the mix.exs file.

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.
Link to this function

add_dependency(igniter, name, version, opts \\ [])

View Source
This function is deprecated. Use `add_dep/2` or `add_dep/3` instead..
Link to this function

get_dependency_declaration(igniter, name)

View Source