From 5885332e278a7466cc334f8b8103f201c1c148b0 Mon Sep 17 00:00:00 2001 From: alisdair sullivan Date: Thu, 1 Jan 2015 19:08:24 -0800 Subject: point compiler to the right config value for which files need to be compiled first --- src/rebar_erlc_compiler.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rebar_erlc_compiler.erl b/src/rebar_erlc_compiler.erl index fe01891..9b11cc2 100644 --- a/src/rebar_erlc_compiler.erl +++ b/src/rebar_erlc_compiler.erl @@ -135,7 +135,7 @@ doterl_compile(State, Dir) -> doterl_compile(Config, Dir, MoreSources, ErlOpts) -> OutDir = filename:join(Dir, "ebin"), - ErlFirstFilesConf = rebar_state:get(Config, erl_first_modules, []), + ErlFirstFilesConf = rebar_state:get(Config, erl_first_files, []), ?DEBUG("erl_opts ~p", [ErlOpts]), %% Support the src_dirs option allowing multiple directories to %% contain erlang source. This might be used, for example, should -- cgit v1.1