Skip to content

Commit 3d414a8

Browse files
author
José Valim
committed
Update rebar.config
1 parent 888ac77 commit 3d414a8

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

rebar.config

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,17 @@
55
%% src/elixir.app.src.
66

77
%% In practice, Elixir is structured as OTP where many applications
8-
%% are placed in the lib directory. Since this is structure is not
9-
%% supported by rebar, after adding Elixir as a dependency, you need
10-
%% to explicitly tell rebar which Elixir applications you want to use
11-
%% use by adding them to your lib_dirs configuration:
8+
%% are placed in the lib directory. Since this structure is not
9+
%% supported by default by rebar, after adding Elixir as a dependency
10+
%% you need to explicitly add it to lib_dirs:
1211
%%
1312
%% {lib_dirs, [
14-
%% "deps/elixir/lib/elixir/ebin",
15-
%% "deps/elixir/lib/ex_unit/ebin"
13+
%% "deps/elixir/lib"
1614
%% ]}.
1715
%%
1816

1917
%% Run make as the proper compilation step
2018
{ post_hooks, [{compile,"make compile"}] }.
2119

2220
%% This prevents rebar_elixir_plugin from recompiling Elixir
23-
{ ex_opts, [{src_dirs, [".PHONY"]}] }.
21+
{ ex_opts, [{src_dirs, [".PHONY"]}] }.

0 commit comments

Comments
 (0)