Selaa lähdekoodia

Change default project PLT location to base directory

Previously dialyzer stored the project PLT in ./build/, which meant the
same PLT was used for all profiles. This could mean partial rebuilding
of a PLT when switching between profiles.
pull/227/head
James Fish 10 vuotta sitten
vanhempi
commit
7f60448d33
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. +2
    -2
      src/rebar_prv_dialyzer.erl

+ 2
- 2
src/rebar_prv_dialyzer.erl Näytä tiedosto

@ -86,8 +86,8 @@ format_error(Reason) ->
%% Internal functions
get_plt_location(State) ->
BuildDir = rebar_state:get(State, base_dir, ?DEFAULT_BASE_DIR),
DefaultPlt = filename:join([BuildDir, default_plt()]),
BaseDir = rebar_dir:base_dir(State),
DefaultPlt = filename:join(BaseDir, default_plt()),
rebar_state:get(State, dialyzer_plt, DefaultPlt).
default_plt() ->

Ladataan…
Peruuta
Tallenna