summaryrefslogtreecommitdiff
path: root/rebar.config
diff options
context:
space:
mode:
authorAmit Kapoor <amit@koanect.com>2012-04-04 09:50:05 -0700
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2012-04-04 20:43:25 +0200
commit6ada1c24c7b1d37e7c1bf41375c28fb54ddaca24 (patch)
treece79169cf747ec81c4f8f78e2c6ec37d77043f02 /rebar.config
parentae178b851b92ba02a7e7642a27441bf74fae627a (diff)
downloadrebar-6ada1c24c7b1d37e7c1bf41375c28fb54ddaca24.tar.gz
Update filter list for custom xref query
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.
Diffstat (limited to 'rebar.config')
-rw-r--r--rebar.config9
1 files changed, 7 insertions, 2 deletions
diff --git a/rebar.config b/rebar.config
index 869303e..10c0771 100644
--- a/rebar.config
+++ b/rebar.config
@@ -5,6 +5,11 @@
{erl_opts, [warnings_as_errors]}.
{xref_checks, []}.
{xref_queries,
- [{"(XC - UC) || (XU - X - B
+ [{"(XC - UC) || (XU - X - B
- (\"escript\":\"foldl\"/\"3\")
- - (\"abnfc\":\"file\"/\"2\"))",[]}]}.
+ - (\"abnfc\":\"file\"/\"2\")
+ - (\"erlydtl\":\"compile\"/\"3\")
+ - (\"lfe_comp\":\"file\"/\"2\")
+ - (\"neotoma\":\"file\"/\"2\")
+ - (\"protobuffs_compile\":\"scan_file\"/\"1\"))",
+ []}]}.