diff options
author | alisdair sullivan <alisdairsullivan@yahoo.ca> | 2015-03-03 12:05:00 -0800 |
---|---|---|
committer | alisdair sullivan <alisdairsullivan@yahoo.ca> | 2015-03-03 12:05:00 -0800 |
commit | 434c6628162750fbe6074096260d9a30053456c8 (patch) | |
tree | 9973c62b4980aca9f48653c2e8c4a3830b24ce61 | |
parent | 993a9efa58e68799ac84f7b2b02eac6bc0fb5453 (diff) |
rename `_logs` and `_cover` dirs to `logs` and `cover`, respectively
-rw-r--r-- | src/rebar_prv_common_test.erl | 2 | ||||
-rw-r--r-- | src/rebar_prv_cover.erl | 2 | ||||
-rw-r--r-- | test/rebar_cover_SUITE.erl | 10 |
3 files changed, 7 insertions, 7 deletions
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)}, diff --git a/test/rebar_cover_SUITE.erl b/test/rebar_cover_SUITE.erl index dba9f59..f3c3248 100644 --- a/test/rebar_cover_SUITE.erl +++ b/test/rebar_cover_SUITE.erl @@ -47,7 +47,7 @@ flag_coverdata_written(Config) -> ["eunit", "--cover"], {ok, [{app, Name}]}), - true = filelib:is_file(filename:join(["_build", "_cover", "eunit.coverdata"])). + true = filelib:is_file(filename:join(["_build", "cover", "eunit.coverdata"])). config_coverdata_written(Config) -> AppDir = ?config(apps, Config), @@ -62,7 +62,7 @@ config_coverdata_written(Config) -> ["eunit"], {ok, [{app, Name}]}), - true = filelib:is_file(filename:join(["_build", "_cover", "eunit.coverdata"])). + true = filelib:is_file(filename:join(["_build", "cover", "eunit.coverdata"])). index_written(Config) -> AppDir = ?config(apps, Config), @@ -77,7 +77,7 @@ index_written(Config) -> ["do", "eunit", "--cover", ",", "cover"], {ok, [{app, Name}]}), - true = filelib:is_file(filename:join(["_build", "_cover", "index.html"])). + true = filelib:is_file(filename:join(["_build", "cover", "index.html"])). config_alt_coverdir(Config) -> AppDir = ?config(apps, Config), @@ -109,7 +109,7 @@ flag_verbose(Config) -> ["do", "eunit", "--cover", ",", "cover", "--verbose"], {ok, [{app, Name}]}), - true = filelib:is_file(filename:join(["_build", "_cover", "index.html"])). + true = filelib:is_file(filename:join(["_build", "cover", "index.html"])). config_verbose(Config) -> AppDir = ?config(apps, Config), @@ -124,4 +124,4 @@ config_verbose(Config) -> ["do", "eunit", "--cover", ",", "cover"], {ok, [{app, Name}]}), - true = filelib:is_file(filename:join(["_build", "_cover", "index.html"])). + true = filelib:is_file(filename:join(["_build", "cover", "index.html"])). |