Skip to content

Commit 4b1ea18

Browse files
committed
Set load paths for dependencies with Makefile
A recent update (036d016 2013-06-02; Rebar dep with no config is given rebar as manager) introduced :make as a value for a dependency's manager, but Mix.Deps.load_path has no function clause to handle this. Add :make to the nil manager clause, as it seems the closest equivalent.
1 parent 7cd98e1 commit 4b1ea18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mix/lib/mix/deps.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ defmodule Mix.Deps do
255255
|> Enum.filter(File.dir?(&1))
256256
end
257257

258-
def load_paths(Mix.Dep[manager: nil, opts: opts]) do
258+
def load_paths(Mix.Dep[manager: manager, opts: opts]) when manager in [:make, nil] do
259259
[ Path.join(opts[:dest], "ebin") ]
260260
end
261261

0 commit comments

Comments
 (0)