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

Codemods and utilities for managing dependencies declared in mix.exs

Summary

Functions

Link to this function

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

View Source

Adds a dependency to the mix.exs file.

Options

  • :yes? - Automatically answer yes to any prompts.
  • :error? - Returns an error instead of a notice on failure.
Link to this function

get_dependency_declaration(igniter, name)

View Source