mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Support dialyzer plt paths having "~/" as a prefix
e.g. {dialyzer_opts, [{plt, "~/.dialyzer_plt.R14B"}]}.
This commit is contained in:
parent
fe664e8c50
commit
e36783112d
1 changed files with 2 additions and 0 deletions
|
@ -193,6 +193,8 @@ existing_plt_path(Config, File) ->
|
||||||
?ABORT("No PLT found~n", [])
|
?ABORT("No PLT found~n", [])
|
||||||
end
|
end
|
||||||
end;
|
end;
|
||||||
|
[$~|[$/|Plt]] ->
|
||||||
|
filename:join(Home,Plt);
|
||||||
Plt ->
|
Plt ->
|
||||||
Plt
|
Plt
|
||||||
end.
|
end.
|
||||||
|
|
Loading…
Reference in a new issue