basho/rebar — pull request #199 by xcurry (2012-03-07 20:29:58+00:00)
Title: Added new feature to rebar xref to allow execution of custom queries.

The custom queries can be enabled in addition to xref_checks.
The new queries can be added to rebar.config via the tuple
{xref_queries, ```[{query(), query_result()},...]}```. It will
exit with error if the result of running a particular query()
does not give the query_result(). For example:

```{xref_queries, [{"(XC - UC) || (XU - X - B - (\"ejabberd_logger\":\".*_msg\"/\"4\"))",[]}]}.```