From 993a9efa58e68799ac84f7b2b02eac6bc0fb5453 Mon Sep 17 00:00:00 2001 From: alisdair sullivan Date: Tue, 3 Mar 2015 10:18:49 -0800 Subject: move `_logs` and `_cover` to `_build` dir --- src/rebar_prv_common_test.erl | 4 ++-- src/rebar_prv_cover.erl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl index 032a8a6..18969b3 100644 --- a/src/rebar_prv_common_test.erl +++ b/src/rebar_prv_common_test.erl @@ -74,8 +74,8 @@ run_test(CTOpts, false) -> end), receive Result -> handle_quiet_results(CTOpts, Result) end. -ct_opts(State) -> - DefaultLogsDir = filename:join([rebar_state:dir(State), "_logs"]), +ct_opts(_State) -> + DefaultLogsDir = filename:join(["_build", "_logs"]), [{dir, undefined, "dir", string, help(dir)}, %% comma-seperated list {suite, undefined, "suite", string, help(suite)}, %% comma-seperated list {group, undefined, "group", string, help(group)}, %% comma-seperated list diff --git a/src/rebar_prv_cover.erl b/src/rebar_prv_cover.erl index 765e2ac..812176f 100644 --- a/src/rebar_prv_cover.erl +++ b/src/rebar_prv_cover.erl @@ -333,7 +333,7 @@ verbose(State) -> end. cover_dir(State) -> - rebar_state:get(State, cover_data_dir, "_cover"). + rebar_state:get(State, cover_data_dir, filename:join(["_build", "_cover"])). cover_opts(_State) -> [{reset, $r, "reset", boolean, help(reset)}, -- cgit v1.1 From 434c6628162750fbe6074096260d9a30053456c8 Mon Sep 17 00:00:00 2001 From: alisdair sullivan Date: Tue, 3 Mar 2015 12:05:00 -0800 Subject: rename `_logs` and `_cover` dirs to `logs` and `cover`, respectively --- src/rebar_prv_common_test.erl | 2 +- src/rebar_prv_cover.erl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl index 18969b3..b12ffde 100644 --- a/src/rebar_prv_common_test.erl +++ b/src/rebar_prv_common_test.erl @@ -75,7 +75,7 @@ run_test(CTOpts, false) -> receive Result -> handle_quiet_results(CTOpts, Result) end. ct_opts(_State) -> - DefaultLogsDir = filename:join(["_build", "_logs"]), + DefaultLogsDir = filename:join(["_build", "logs"]), [{dir, undefined, "dir", string, help(dir)}, %% comma-seperated list {suite, undefined, "suite", string, help(suite)}, %% comma-seperated list {group, undefined, "group", string, help(group)}, %% comma-seperated list diff --git a/src/rebar_prv_cover.erl b/src/rebar_prv_cover.erl index 812176f..09d3861 100644 --- a/src/rebar_prv_cover.erl +++ b/src/rebar_prv_cover.erl @@ -333,7 +333,7 @@ verbose(State) -> end. cover_dir(State) -> - rebar_state:get(State, cover_data_dir, filename:join(["_build", "_cover"])). + rebar_state:get(State, cover_data_dir, filename:join(["_build", "cover"])). cover_opts(_State) -> [{reset, $r, "reset", boolean, help(reset)}, -- cgit v1.1