Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Update filter list for custom xref query | Amit Kapoor | 2012-04-04 | 1 | -2/+7 | |
| | | | | | | | Rebar has support for optional compilers built-in. These compilers might not be installed causing xref to return errors for the undefined external function calls query. The updated filter list will catch this error and act as a nop if they are installed. | |||||
* | Add support for custom xref queries | Amit Kapoor | 2012-04-02 | 1 | -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 appropriate | Piotr Usewicz | 2011-04-15 | 1 | -0/+3 | |
| | ||||||
* | Use warnings_as_errors instead of fail_on_warning | Tuncer Ayaz | 2011-04-07 | 1 | -1/+1 | |
| | ||||||
* | Make debug_info default | Tuncer Ayaz | 2011-03-30 | 1 | -1/+1 | |
| | | | | | Add no_debug_info option. Remove debug_info=1 option. | |||||
* | Enable xref checks on rebar | Dave Smith | 2010-04-09 | 1 | -1/+2 | |
| | ||||||
* | Enable fail_on_warning by default | Dave Smith | 2009-12-14 | 1 | -0/+1 | |
| | ||||||
* | Connected up symlinking the list of progs in rebar.config/app_bin | Jon Meredith | 2009-11-30 | 1 | -0/+1 | |
to the OTP bin dir. |