From e4f9fbfc9d654d3f4b2d949cc0805cff71dfdb21 Mon Sep 17 00:00:00 2001 From: alisdair sullivan Date: Tue, 12 May 2015 11:28:42 -0700 Subject: when compiling ct dirs base compiler input dir on project root rather than profile root fixes #415 --- src/rebar_prv_common_test.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl index d4370de..eb51d8d 100644 --- a/src/rebar_prv_common_test.erl +++ b/src/rebar_prv_common_test.erl @@ -303,7 +303,7 @@ copy(State, Dir) -> compile_dir(State, Dir, OutDir) -> NewState = replace_src_dirs(State, [Dir]), - ok = rebar_erlc_compiler:compile(NewState, rebar_dir:base_dir(State), OutDir), + ok = rebar_erlc_compiler:compile(NewState, rebar_state:dir(State), OutDir), ok = maybe_cover_compile(State, Dir), OutDir. -- cgit v1.1