Skip to content

Commit a917c6c

Browse files
author
José Valim
committed
Add a workaround for Mix deps.get and deps.umbrella what was not loading path deps
This will be properly fixed in a couple days once we move to _build directories.
1 parent 8c57450 commit a917c6c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/mix/lib/mix/deps.ex

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,12 @@ defmodule Mix.Deps do
415415
Mix.Deps.Lock.write(lock)
416416
417417
unless opts[:no_compile] do
418+
# TODO: This is a temporary workaround to the fact
419+
# we do not loadpaths for deps.get and deps.update tasks
420+
# in the CLI.
421+
Mix.Task.run("deps.loadpaths", ["--no-deps-check"])
422+
Mix.Task.reenable("deps.loadpaths")
423+
418424
args = if opts[:quiet], do: ["--quiet"|apps], else: apps
419425
Mix.Task.run("deps.compile", args)
420426
unless opts[:no_deps_check] do

0 commit comments

Comments
 (0)