Permalink
Browse files

Merge pull request #512 from basho/feature/xref

Add xref target, with exclusions
  • Loading branch information...
2 parents d5eaa8a + 547e2eb commit 67ee5bd1dc4cb4914eac89503cb7add00638b0bb @Vagabond Vagabond committed Jan 28, 2014
Showing with 6 additions and 1 deletion.
  1. +3 −1 rebar.config
  2. +3 −0 tools.mk
View
@@ -3,7 +3,9 @@
{erl_opts, [warnings_as_errors, {parse_transform, lager_transform}, debug_info]}.
{edoc_opts, [{preprocess, true}]}.
{eunit_opts, [verbose]}.
-{xref_checks, [undefined_function_calls]}.
+
+{xref_checks, []}.
+{xref_queries, [{"(XC - UC) || (XU - X - B - \"(cluster_info|dtrace)\" : Mod)", []}]}.
{deps, [
{lager, "2.0.*", {git, "git://github.com/basho/lager.git", {tag, "2.0.2"}}},
View
@@ -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

0 comments on commit 67ee5bd

Please sign in to comment.