You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2015/09/23 14:29:26 UTC
[32/50] rebar commit: updated refs/heads/import to 5dea85d
Drop support for `shared` plt
Project: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/commit/643f0453
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/tree/643f0453
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-rebar/diff/643f0453
Branch: refs/heads/import
Commit: 643f04531c005b80dcef61038a6626ceedfb6337
Parents: 6e7ec60
Author: James Fish <ja...@fishcakez.com>
Authored: Thu Jun 4 11:03:44 2015 +0100
Committer: James Fish <ja...@fishcakez.com>
Committed: Sat Jun 6 11:06:09 2015 +0100
----------------------------------------------------------------------
THANKS | 1 +
rebar.config.sample | 4 +---
src/rebar_dialyzer.erl | 6 +-----
3 files changed, 3 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-rebar/blob/643f0453/THANKS
----------------------------------------------------------------------
diff --git a/THANKS b/THANKS
index 2422310..042bb30 100644
--- a/THANKS
+++ b/THANKS
@@ -141,3 +141,4 @@ Paulo F. Oliveira
Derek Brown
Danil Onishchenko
Stavros Aronis
+James Fish
http://git-wip-us.apache.org/repos/asf/couchdb-rebar/blob/643f0453/rebar.config.sample
----------------------------------------------------------------------
diff --git a/rebar.config.sample b/rebar.config.sample
index da1e929..916e47c 100644
--- a/rebar.config.sample
+++ b/rebar.config.sample
@@ -271,9 +271,7 @@
{dialyzer,
[
- %% Store PLT in ~/.rebar/plt (Default)
- {plt_location, shared},
- %% Store PLT locally inside the project in .rebar
+ %% Store PLT locally inside the project in .rebar (Default)
{plt_location, local},
%% Store PLT in custom directory
{plt_location, "custom_dir"},
http://git-wip-us.apache.org/repos/asf/couchdb-rebar/blob/643f0453/src/rebar_dialyzer.erl
----------------------------------------------------------------------
diff --git a/src/rebar_dialyzer.erl b/src/rebar_dialyzer.erl
index 0e44592..5dec614 100644
--- a/src/rebar_dialyzer.erl
+++ b/src/rebar_dialyzer.erl
@@ -144,7 +144,6 @@ info_help(Description) ->
{dialyzer,
[
{plt_location, local},
- {plt_location, shared},
{plt_location, "custom_dir"},
{plt_extra_apps, [app1, app2]},
{warnings, [unmatched_returns, error_handling]}
@@ -176,10 +175,7 @@ plt_dir1(_Config, Location) when is_list(Location) ->
end;
plt_dir1(Config, local) ->
BaseDir = rebar_utils:base_dir(Config),
- filename:join([BaseDir, ".rebar"]);
-plt_dir1(_Config, shared) ->
- {ok, Home} = init:get_argument(home),
- filename:join([Home, ".rebar", "plt"]).
+ filename:join([BaseDir, ".rebar"]).
check_plt_existence(Plt) ->
case filelib:is_regular(Plt) of