Clean up rebar script.

This commit is contained in:
Jerome Sautret 2014-10-30 16:51:01 +01:00
parent 565f064b15
commit 1d2ef85b33
1 changed files with 1 additions and 4 deletions

View File

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