diff options
author | Slava Yurin <v.yurin@office.ngs.ru> | 2014-05-29 18:43:23 +0700 |
---|---|---|
committer | Slava Yurin <v.yurin@office.ngs.ru> | 2014-05-30 18:55:09 +0700 |
commit | 49c25642b3da6796c05385b76160178e3c9a2c83 (patch) | |
tree | 5aa9d6a47901ff3ccf9fe40188f8537a94baf82e /inttest | |
parent | 23c63f7003c3f80fddc8580cfcf208aa0639b80c (diff) |
Fix #249 (erlc regression)
The combination of changes to rebar_erlc_compiler, and the fact
that erl_first_files is inherited, caused a regression. To fix
that, ensure every project uses its own .rebar/erlcinfo. While at
it, fix the issue that erl_first_files entries were not included
when initializing the dep digraph.
Reported-by: Louis-Philippe Gauthier
Reported-by: Roland Karlsson
Thanks: Tuncer Ayaz
Diffstat (limited to 'inttest')
-rw-r--r-- | inttest/erlc/rebar-no_debug_info.config | 2 | ||||
-rw-r--r-- | inttest/erlc/rebar.config | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/inttest/erlc/rebar-no_debug_info.config b/inttest/erlc/rebar-no_debug_info.config index 1a7113a..07b6fed 100644 --- a/inttest/erlc/rebar-no_debug_info.config +++ b/inttest/erlc/rebar-no_debug_info.config @@ -1,6 +1,6 @@ %% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*- %% ex: ts=4 sw=4 ft=erlang et -{erl_first_files, ["first_xrl.erl", "first_yrl.erl"]}. +{erl_first_files, ["src/first_xrl.erl", "src/first_yrl.erl"]}. {erl_opts, [ diff --git a/inttest/erlc/rebar.config b/inttest/erlc/rebar.config index 7ea78e1..71d6660 100644 --- a/inttest/erlc/rebar.config +++ b/inttest/erlc/rebar.config @@ -1,6 +1,7 @@ %% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*- %% ex: ts=4 sw=4 ft=erlang et -{erl_first_files, ["first_xrl.erl", "first_yrl.erl", "src/first_erl.erl"]}. +{erl_first_files, + ["src/first_xrl.erl", "src/first_yrl.erl", "src/first_erl.erl"]}. {deps, [foobar]}. |