Mix v1.1.1 Mix.Tasks.Loadconfig

Loads and persists the given configuration.

In case no configuration file is given, it loads the project one at “config/config.exs” if it exists. Keep in mind though the “config/config.exs” file is always loaded by the CLI and invoking it is only required in cases you are starting Mix manually.

This task is automatically reenabled, so it can be called multiple times to load different configs.

Summary

Functions

Callback implementation for Mix.Task.run/1

Functions

run(args)

Specs

run(OptionParser.argv) :: :ok

Callback implementation for Mix.Task.run/1.