From e36783112d9c2f0d9664819724354844b9410288 Mon Sep 17 00:00:00 2001 From: Joseph Wayne Norton Date: Tue, 23 Nov 2010 00:03:45 +0900 Subject: Support dialyzer plt paths having "~/" as a prefix e.g. {dialyzer_opts, [{plt, "~/.dialyzer_plt.R14B"}]}. --- src/rebar_dialyzer.erl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rebar_dialyzer.erl b/src/rebar_dialyzer.erl index f0fa2e9..9d45445 100644 --- a/src/rebar_dialyzer.erl +++ b/src/rebar_dialyzer.erl @@ -193,6 +193,8 @@ existing_plt_path(Config, File) -> ?ABORT("No PLT found~n", []) end end; + [$~|[$/|Plt]] -> + filename:join(Home,Plt); Plt -> Plt end. -- cgit v1.1