Add xref target, with exclusions
Project: http://git-wip-us.apache.org/repos/asf/couchdb-lager/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-lager/commit/4a0c5e9b Tree: http://git-wip-us.apache.org/repos/asf/couchdb-lager/tree/4a0c5e9b Diff: http://git-wip-us.apache.org/repos/asf/couchdb-lager/diff/4a0c5e9b Branch: refs/heads/import-master Commit: 4a0c5e9b55657980dc193442d1a8dd57873f5b5a Parents: 0df1dd4 Author: Andrew Thompson <[email protected]> Authored: Tue Jan 28 14:14:39 2014 -0500 Committer: Andrew Thompson <[email protected]> Committed: Tue Jan 28 14:14:39 2014 -0500 ---------------------------------------------------------------------- rebar.config | 3 +++ tools.mk | 3 +++ 2 files changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-lager/blob/4a0c5e9b/rebar.config ---------------------------------------------------------------------- diff --git a/rebar.config b/rebar.config index 3eb95fa..6460605 100644 --- a/rebar.config +++ b/rebar.config @@ -5,5 +5,8 @@ {git, "git://github.com/DeadZen/goldrush.git", {tag, "0.1.6"}}} ]}. +{xref_checks, []}. +{xref_queries, [{"(XC - UC) || (XU - X - B - lager_default_tracer : Mod)", []}]}. + {cover_enabled, true}. {edoc_opts, [{stylesheet_file, "./priv/edoc.css"}]}. http://git-wip-us.apache.org/repos/asf/couchdb-lager/blob/4a0c5e9b/tools.mk ---------------------------------------------------------------------- diff --git a/tools.mk b/tools.mk index 82a0669..15a55f7 100644 --- a/tools.mk +++ b/tools.mk @@ -4,6 +4,9 @@ test: compile docs: ./rebar doc skip_deps=true +xref: + ./rebar xref skip_deps=true + PLT ?= $(HOME)/.riak_combo_dialyzer_plt LOCAL_PLT = .local_dialyzer_plt DIALYZER_FLAGS ?= -Wunmatched_returns
