summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoralisdair sullivan <alisdairsullivan@yahoo.ca>2015-01-01 19:08:24 -0800
committeralisdair sullivan <alisdairsullivan@yahoo.ca>2015-01-01 19:08:24 -0800
commit5885332e278a7466cc334f8b8103f201c1c148b0 (patch)
tree06b685c407e1eb35fd0810cef9c11a84cc3e229e /src
parentcb400a39dc3dd73b642ca2594cc02048208e9af4 (diff)
point compiler to the right config value for which files need to be
compiled first
Diffstat (limited to 'src')
-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