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-no_debug_info.config | 2 +- inttest/erlc/rebar.config | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'inttest') 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]}. -- cgit v1.1