From 92c6cf17b0e0c0af193f6704e4ce62f6ef07c53e Mon Sep 17 00:00:00 2001 From: James Fish Date: Thu, 12 Mar 2015 17:53:21 +0000 Subject: Store base PLT in ~/.cache/rebar3/ --- src/rebar_prv_dialyzer.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/rebar_prv_dialyzer.erl b/src/rebar_prv_dialyzer.erl index fe9a141..24e276d 100644 --- a/src/rebar_prv_dialyzer.erl +++ b/src/rebar_prv_dialyzer.erl @@ -296,8 +296,8 @@ build_proj_plt(State, Plt, Files) -> end. get_base_plt_location(State) -> - GlobalConfigDir = rebar_dir:global_config_dir(State), - BaseDir = rebar_state:get(State, dialyzer_base_plt_dir, GlobalConfigDir), + GlobalCacheDir = rebar_dir:global_cache_dir(State), + BaseDir = rebar_state:get(State, dialyzer_base_plt_dir, GlobalCacheDir), BasePlt = rebar_state:get(State, dialyzer_base_plt, default_plt()), filename:join(BaseDir, BasePlt). -- cgit v1.1