mix deps.unlock
Unlocks the given dependencies.
Since this is a destructive action, unlocking dependencies only occurs when passing arguments/options:
-
dep1 dep2
- the name of dependencies to be unlocked -
--all
- unlocks all dependencies -
--filter
- unlocks only deps matching the given name -
--unused
- unlocks only unused dependencies (no longer mentioned in themix.exs
file) -
--check-unused
- checks that themix.lock
file has no unused dependencies. This is useful in pre-commit hooks and CI scripts if you want to reject contributions with extra dependencies
© 2012 Plataformatec
Licensed under the Apache License, Version 2.0.
https://hexdocs.pm/mix/1.11.2/Mix.Tasks.Deps.Unlock.html