summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Sloughter <tristan.sloughter@gmail.com>2015-01-04 12:47:27 -0600
committerTristan Sloughter <tristan.sloughter@gmail.com>2015-01-04 12:47:27 -0600
commit038fb668e1a7bfb9177f175baa9bcb9c32e95cef (patch)
tree06b685c407e1eb35fd0810cef9c11a84cc3e229e
parentcb400a39dc3dd73b642ca2594cc02048208e9af4 (diff)
parent5885332e278a7466cc334f8b8103f201c1c148b0 (diff)
Merge pull request #84 from talentdeficit/first_files_fix
point compiler to the right config value for which files need to be compiled first
-rw-r--r--src/rebar_erlc_compiler.erl2
1 files changed, 1 insertions, 1 deletions
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