Commit graph

8 commits

Author SHA1 Message Date
Dave Smith
1c98f6ccd4 Add binary target for pushing new build of rebar into rebar.wiki 2012-06-04 08:56:51 -06:00
Tuncer Ayaz
79a580200d Fix Makefile to not ignore xref return code 2012-04-02 19:22:15 +02:00
Amit Kapoor
0191806f92 Add support for custom xref queries
The custom queries are configured in rebar.config via the tuple
{xref_queries, [{query(), query_result()},...]}.  The implementation
passes the query() string to xref:q and compares the return value with
query_result(). It will result in an error if they do not match.

The following configuration, for example, is the same as running the
xref check undefined_function_calls. It additionally filters
ejabberd_logger:*_msg/4 from the result as these functions are generated
on execution by ejabberd and not available at compile time.

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

This patch also modifies the build process of this package by running a
custom query instead of doing a diff against a static xref_warning file.
2012-04-02 19:14:37 +02:00
Tuncer Ayaz
af3eab6522 Enhance make check (Inspired-by: Stavros Aronis) 2012-01-01 17:04:37 +01:00
Tuncer Ayaz
6f3f234d34 Update Dialyzer options 2011-09-04 20:13:25 +02:00
Tuncer Ayaz
c2a5d286f0 Add check target to Makefile 2011-09-02 19:51:18 +02:00
Dave Smith
d6b79fb8c4 Add "clean" target 2010-06-08 13:23:36 -06:00
Dave Smith
564b99334d Add helper makefile; update bootstrap to always build w/ debug_info 2010-04-09 09:24:45 -06:00