Skip to content

Commit 328f581

Browse files
ericmjJosé Valim
authored and
José Valim
committed
Add MIX_NO_DEPS env var for disabling dep loading
Signed-off-by: José Valim <[email protected]>
1 parent aa69587 commit 328f581

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mix/lib/mix/tasks/loadpaths.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ defmodule Mix.Tasks.Loadpaths do
3232

3333
# --no-deps is used only internally. It has no purpose
3434
# from Mix.CLI because the CLI itself already loads deps.
35-
unless "--no-deps" in args do
35+
unless "--no-deps" in args or System.get_env("MIX_NO_DEPS") in ~w(1 true) do
3636
Mix.Task.run "deps.loadpaths", args
3737
end
3838

0 commit comments

Comments
 (0)