Procházet zdrojové kódy

Merge pull request #264 from fishcakez/cache_plt

Store base PLT in ~/.cache/rebar3/
pull/256/merge
Tristan Sloughter před 10 roky
rodič
revize
ebb4461f87
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      src/rebar_prv_dialyzer.erl

+ 2
- 2
src/rebar_prv_dialyzer.erl Zobrazit soubor

@ -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).

Načítá se…
Zrušit
Uložit