diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/rebar_test_utils.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rebar_test_utils.erl b/test/rebar_test_utils.erl index 8e00483..c07df68 100644 --- a/test/rebar_test_utils.erl +++ b/test/rebar_test_utils.erl @@ -25,7 +25,9 @@ init_rebar_state(Config, Name) -> ok = ec_file:mkdir_p(CheckoutsDir), Verbosity = rebar3:log_level(), rebar_log:init(command_line, Verbosity), + GlobalDir = filename:join([DataDir, "cache"]), State = rebar_state:new([{base_dir, filename:join([AppsDir, "_build"])} + ,{global_rebar_dir, GlobalDir} ,{root_dir, AppsDir}]), [{apps, AppsDir}, {checkouts, CheckoutsDir}, {state, State} | Config]. |