mirror of
https://github.com/correl/rebar.git
synced 2024-11-15 11:09:33 +00:00
6ada1c24c7
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.
15 lines
484 B
Erlang
15 lines
484 B
Erlang
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
|
|
%% ex: ts=4 sw=4 ft=erlang et
|
|
|
|
{app_bin, ["priv/rebar"]}.
|
|
{erl_opts, [warnings_as_errors]}.
|
|
{xref_checks, []}.
|
|
{xref_queries,
|
|
[{"(XC - UC) || (XU - X - B
|
|
- (\"escript\":\"foldl\"/\"3\")
|
|
- (\"abnfc\":\"file\"/\"2\")
|
|
- (\"erlydtl\":\"compile\"/\"3\")
|
|
- (\"lfe_comp\":\"file\"/\"2\")
|
|
- (\"neotoma\":\"file\"/\"2\")
|
|
- (\"protobuffs_compile\":\"scan_file\"/\"1\"))",
|
|
[]}]}.
|