浏览代码

Store base PLT in ~/.cache/rebar3/

pull/264/head
James Fish 10 年前
父节点
当前提交
92c6cf17b0
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/rebar_prv_dialyzer.erl

+ 2
- 2
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).

正在加载...
取消
保存