wand_core v0.2.0 mix wand_core.deps

Task to load a wand.json file, and return Application deps format. This is used inside a mix.exs to allow wand to work for your project.

Your mix.exs file should look something like this:

def project do
  [
    app: :my_project,
    deps: Mix.Tasks.WandCore.Deps.run([])
    ...
  ]
end

Link to this section Summary

Functions

A task needs to implement run which receives a list of command line args

Link to this section Types

Link to this type dependency()
dependency() ::
  {name(), version()} | {name(), opts()} | {name(), version(), opts()}
Link to this type name()
name() :: atom()
Link to this type opts()
opts() :: keyword()
Link to this type version()
version() :: String.t()

Link to this section Functions

Link to this function run(args)
run([]) :: [dependency()]

A task needs to implement run which receives a list of command line args.

Callback implementation for Mix.Task.run/1.