diff options
author | James Fish <james@fishcakez.com> | 2015-03-12 17:53:21 +0000 |
---|---|---|
committer | James Fish <james@fishcakez.com> | 2015-03-12 17:58:55 +0000 |
commit | 92c6cf17b0e0c0af193f6704e4ce62f6ef07c53e (patch) | |
tree | e60d6b884fb7f2ba38cf2d55036559885be75ba6 /src | |
parent | bf4d9d0004e21d9a45cd980a92a9af3702032fa2 (diff) |
Store base PLT in ~/.cache/rebar3/
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_prv_dialyzer.erl | 4 |
1 files changed, 2 insertions, 2 deletions
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). |