Mix v1.0.5 Mix.Tasks.Deps.Clean

Remove the given dependencies’ files.

Since this is a destructive action, cleaning of dependencies can only happen by passing arguments/options:

  • dep1, dep2 - the name of dependency to be removed
  • --all - removes all dependencies
  • --unused - removes only unused dependencies (no longer mentioned in the mix.exs file)

By default this task works accross all environments, unless --only is given.

Summary

Functions

Callback implementation for Mix.Task.run/1

Functions

run(args)

Specs

run(OptionParser.argv) :: :ok

Callback implementation for Mix.Task.run/1.