rm -rf deps/.built
$(REBAR) update-deps && :> deps/.got
+xref: all
+ $(REBAR) skip_deps=true xref
+
+
translations:
contrib/extract_translations/prepare-translation.sh -updateall
[]
end, Cfg),
+CfgXrefs = lists:flatmap(
+ fun({mysql, false}) ->
+ ["(\".*mysql.*\":_/_)"];
+ ({pgsql, false}) ->
+ ["(\".*pgsql.*\":_/_)"];
+ ({pam, false}) ->
+ ["(\"epam\":_/_)"];
+ ({riak, false}) ->
+ ["(\"riak.*\":_/_)"];
+ ({json, false}) ->
+ ["(\"jiffy\":_/_)"];
+ ({p1db, false}) ->
+ ["(\"p1db.*\":_/_)"];
+ ({zlib, false}) ->
+ ["(\"ezlib\":_/_)"];
+ ({http, false}) ->
+ ["(\"lhttpc\":_/_)"];
+ ({iconv, false}) ->
+ ["(\"iconv\":_/_)"];
+ (_) ->
+ []
+ end, Cfg),
+
+
{ok, Cwd} = file:get_cwd(),
Config = [{erl_opts, Macros ++ HiPE ++ DebugInfo ++
{keep_build_info, true},
{ct_extra_params, "-include "
++ filename:join([Cwd, "tools"])},
+ {xref_warnings, false},
+ {xref_checks, []},
+ {xref_queries,
+ [{"(XC - UC) || (XU - X - B - "
+ ++ string:join(["(\"gen_transport\":_/_) - (\"eprof\":_/_)"]
+ ++ CfgXrefs, " - ") ++ ")", []}]},
{post_hooks, PostHooks ++ CfgPostHooks},
{deps, Deps ++ CfgDeps}],
%%io:format("ejabberd configuration:~n ~p~n", [Config]),