Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement 'rebar help CMD1 CMD2' and extend common 'rebar help' msg | Tuncer Ayaz | 2012-12-31 | 1 | -0/+19 |
| | | | | | * allow plugins to print help message for implemented commands * append core rebar.config options to common 'rebar help' message | ||||
* | Add comment to explain why we're using sub_dirs by hand | Dave Smith | 2012-11-05 | 1 | -0/+5 |
| | |||||
* | Add all subdirs to xref library path | Daniel Luna | 2012-11-05 | 1 | -4/+7 |
| | |||||
* | Add email address to my name | Daniel Luna | 2012-11-05 | 1 | -1/+2 |
| | |||||
* | xref: allow multiple behaviours and ignore_xref pragmas | Daniel Luna | 2012-09-13 | 1 | -12/+6 |
| | |||||
* | Re-use rebar_utils:ebin_dir() | Tuncer Ayaz | 2012-08-06 | 1 | -1/+1 |
| | |||||
* | Fix R13B03 build (Reported-by: Sergey Nartimov) | Tuncer Ayaz | 2012-07-28 | 1 | -1/+1 |
| | |||||
* | Do not use application:set_env | Tuncer Ayaz | 2012-07-23 | 1 | -1/+1 |
| | |||||
* | Remove ?FAIL in favor of ?ABORT | Dave Smith | 2012-06-08 | 1 | -1/+1 |
| | |||||
* | Use lists:member/2 to check xref results | Amit Kapoor | 2012-04-02 | 1 | -4/+3 |
| | |||||
* | Add support for custom xref queries | Amit Kapoor | 2012-04-02 | 1 | -1/+18 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | Universally support apps=/skip_apps= | Tuncer Ayaz | 2011-12-12 | 1 | -11/+5 |
| | |||||
* | Move is_skipped_app/0 to rebar_app_utils | Tuncer Ayaz | 2011-12-12 | 1 | -1/+1 |
| | |||||
* | rebar_xref: move code to proper place | Tuncer Ayaz | 2011-12-12 | 1 | -4/+4 |
| | |||||
* | Make 'rebar xref' honour the skip_app directive | Torbjorn Tornkvist | 2011-12-12 | 1 | -1/+7 |
| | | | | | | | | | | | | It is now possible to call rebar as: rebar xref skip_app=Mod1,Mod2,... This makes it easy to skip running xref on (e.g) imported dependencies in your application. The function rebar_utils:is_skipped_app/0 is added so that other rebar commands may use it. | ||||
* | Work around functions not found in source | Fabian Linzberger | 2011-10-20 | 1 | -5/+11 |
| | | | | | | | | | | | | For parameterized modules, the beam code will have a compiler generated new/1 and instance/1 function. If while checking the beam, xref detects one of those is unused, the rebars xref wrapper will try to find the location of the definition of that function in the source code for the module (to give a more specific warning to the user). Since the function was generated by the compiler it does not actually exist in the source, and rebar crashes at that stage. This patch works around that issue. | ||||
* | Abort if xref emits warnings | Shunichi Shinohara | 2011-05-25 | 1 | -21/+26 |
| | |||||
* | Fix bug: xref should be stopped after being run | Jordi Chacon | 2011-03-26 | 1 | -0/+3 |
| | | | | Xref not being stopped caused a crash in subsequent xref runs. | ||||
* | Clean up code | Tuncer Ayaz | 2011-02-06 | 1 | -16/+27 |
| | |||||
* | Clean up emacs file local variables | Tuncer Ayaz | 2011-01-31 | 1 | -1/+1 |
| | |||||
* | Simplify and cleanup rebar_xref | Tuncer Ayaz | 2011-01-13 | 1 | -21/+9 |
| | |||||
* | Fix typos | Tuncer Ayaz | 2011-01-13 | 1 | -1/+1 |
| | |||||
* | Fix issues found by dialyzer | Tuncer Ayaz | 2010-10-10 | 1 | -1/+1 |
| | |||||
* | Dialyzer related cleanups | Kostis Sagonas | 2010-10-10 | 1 | -12/+12 |
| | |||||
* | Fix compiler warnings | Klas Johansson | 2010-06-19 | 1 | -4/+1 |
| | |||||
* | Make sure to add ebin/ to the code path as well so that xref can properly ↵ | Dave Smith | 2010-04-23 | 1 | -2/+9 |
| | | | | determine source/line of code. | ||||
* | Add stub for xref support; not yet done | Dave Smith | 2010-04-09 | 1 | -0/+184 |