View Source Igniter.Util.Install (igniter v0.4.8)

Tools for installing packages and running their associated installers, if present.

[!NOTE] The functions in this module are not composable, and are primarily meant to be used internally and to support building custom tooling on top of Igniter, such as Fireside.

Summary

Functions

Installs the provided list of dependencies. deps can be either

Functions

get_deps!(igniter, opts)

install(deps, argv, igniter \\ Igniter.new(), opts \\ [])

Installs the provided list of dependencies. deps can be either:

  • a string like "ash,ash_postgres"
  • a list of strings like ["ash", "ash_postgres", ...]
  • a list of tuples like [{:ash, "~> 3.0"}, {:ash_postgres, "~> 2.0"}]