Permalink
Browse files

Add xref target, with exclusions

  • Loading branch information...
1 parent d5eaa8a commit 547e2eb6488d996558a5c46c22453b9b879655c0 @Vagabond Vagabond committed Jan 28, 2014
Showing with 6 additions and 1 deletion.
  1. +3 −1 rebar.config
  2. +3 −0 tools.mk
View
4 rebar.config
@@ -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
3 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

0 comments on commit 547e2eb

Please sign in to comment.