From 23c63f7003c3f80fddc8580cfcf208aa0639b80c Mon Sep 17 00:00:00 2001 From: Slava Yurin Date: Wed, 28 May 2014 14:05:26 +0700 Subject: Regression test for #249 --- inttest/erlc/rebar.config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'inttest/erlc/rebar.config') diff --git a/inttest/erlc/rebar.config b/inttest/erlc/rebar.config index 6a1082a..7ea78e1 100644 --- a/inttest/erlc/rebar.config +++ b/inttest/erlc/rebar.config @@ -1,6 +1,8 @@ %% -*- 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, ["first_xrl.erl", "first_yrl.erl", "src/first_erl.erl"]}. + +{deps, [foobar]}. {erl_opts, [ -- cgit v1.1 From 49c25642b3da6796c05385b76160178e3c9a2c83 Mon Sep 17 00:00:00 2001 From: Slava Yurin Date: Thu, 29 May 2014 18:43:23 +0700 Subject: 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 --- inttest/erlc/rebar.config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'inttest/erlc/rebar.config') 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]}. -- cgit v1.1