diff options
author | Tristan Sloughter <tristan.sloughter@gmail.com> | 2015-03-03 14:23:59 -0600 |
---|---|---|
committer | Tristan Sloughter <tristan.sloughter@gmail.com> | 2015-03-03 14:23:59 -0600 |
commit | c43641654fe808dd4e6b49b9a770493db1c4e96b (patch) | |
tree | 3917bc4c09bb8f44961d0f52aae0e37a3227723f /src | |
parent | 7480b06e625d7a215705f4d8a21030fc1615af42 (diff) | |
parent | 434c6628162750fbe6074096260d9a30053456c8 (diff) |
Merge pull request #207 from talentdeficit/move_logs_and_cover
move `_logs` and `_cover` to `_build` dir
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_prv_common_test.erl | 4 | ||||
-rw-r--r-- | src/rebar_prv_cover.erl | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/rebar_prv_common_test.erl b/src/rebar_prv_common_test.erl index 032a8a6..b12ffde 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..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, "_cover"). + rebar_state:get(State, cover_data_dir, filename:join(["_build", "cover"])). cover_opts(_State) -> [{reset, $r, "reset", boolean, help(reset)}, |