Permalink
Browse files

Fixes a bug in rebar elixir plugin that was propagating ex_first_file…

…s and ex_opts down to dependendencies
  • Loading branch information...
1 parent 111dc28 commit d63c0e2b003ecf248841031d5c0061a7cabf98c1 @yrashk committed Jul 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugins/rebar_elixir_compiler.erl
@@ -91,7 +91,7 @@ dotex_compile(Config, OutDir, MoreSources) ->
case Loaded of
true ->
application:start(elixir),
- FirstExs = rebar_config:get_list(Config, ex_first_files, []),
+ FirstExs = rebar_config:get_local(Config, ex_first_files, []),
ExOpts = ex_opts(Config),
%% Support the src_dirs option allowing multiple directories to
%% contain elixir source. This might be used, for example, should
@@ -170,7 +170,7 @@ is_newer(Files, Time) ->
end, [ filelib:last_modified(File) || File <- Files ]).
ex_opts(Config) ->
- rebar_config:get(Config, ex_opts, [{ignore_module_conflict, true}]).
+ rebar_config:get_local(Config, ex_opts, [{ignore_module_conflict, true}]).
gather_src([], Srcs) ->
Srcs;

0 comments on commit d63c0e2

Please sign in to comment.