25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Clean up rebar script.

This commit is contained in:
Jerome Sautret 2014-10-30 16:51:01 +01:00
parent 565f064b15
commit 1d2ef85b33

View File

@ -130,8 +130,6 @@ CfgXrefs = lists:flatmap(
["(\"riak_object\":_/_)"];
({json, false}) ->
["(\"jiffy\":_/_)"];
({p1db, false}) ->
["(\"p1db.*\":_/_)"];
({zlib, false}) ->
["(\"ezlib\":_/_)"];
({http, false}) ->
@ -157,8 +155,7 @@ Config = [{erl_opts, Macros ++ HiPE ++ DebugInfo ++
{xref_checks, []},
{xref_queries,
[{"(XC - UC) || (XU - X - B - "
++ string:join(["(\"gen_transport\":_/_) - (\"eprof\":_/_)"]
++ CfgXrefs, " - ") ++ ")", []}]},
++ string:join(CfgXrefs, " - ") ++ ")", []}]},
{post_hooks, PostHooks ++ CfgPostHooks},
{deps, Deps ++ CfgDeps}],
%%io:format("ejabberd configuration:~n ~p~n", [Config]),