Переглянути джерело

speed up tests a bit by setting global_rebar_dir

pull/728/head
pvmart 9 роки тому
джерело
коміт
293dfb79d6
1 змінених файлів з 2 додано та 0 видалено
  1. +2
    -0
      test/rebar_test_utils.erl

+ 2
- 0
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].

Завантаження…
Відмінити
Зберегти