summaryrefslogtreecommitdiff
path: root/rebar.config
Commit message (Collapse)AuthorAgeFilesLines
* Add support for custom xref queriesAmit Kapoor2012-04-021-1/+5
| | | | | | | | | | | | | | | | | | 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.
* Add file local variables where appropriatePiotr Usewicz2011-04-151-0/+3
|
* Use warnings_as_errors instead of fail_on_warningTuncer Ayaz2011-04-071-1/+1
|
* Make debug_info defaultTuncer Ayaz2011-03-301-1/+1
| | | | | Add no_debug_info option. Remove debug_info=1 option.
* Enable xref checks on rebarDave Smith2010-04-091-1/+2
|
* Enable fail_on_warning by defaultDave Smith2009-12-141-0/+1
|
* Connected up symlinking the list of progs in rebar.config/app_binJon Meredith2009-11-301-0/+1
to the OTP bin dir.