mirror of
https://github.com/correl/rebar.git
synced 2024-11-14 19:19:30 +00:00
1b367a8b24
This adds the config option {proto_compiler,gpb} for selecting gpb as the compiler for protocol buffer files. When gpb is used as compiler, it reads the gpb_opts config item for options.
31 lines
1.2 KiB
Erlang
31 lines
1.2 KiB
Erlang
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
|
|
%% ex: ts=4 sw=4 ft=erlang et
|
|
|
|
%% escript_incl_extra is for internal rebar-private use only.
|
|
%% Do not use outside rebar. Config interface is not stable.
|
|
{escript_incl_extra, [{"priv/templates/*", "."}]}.
|
|
|
|
%% Types dict:dict() and digraph:digraph() have been introduced in Erlang 17.
|
|
%% At the same time, their counterparts dict() and digraph() are to be
|
|
%% deprecated in Erlang 18. namespaced_types option is used to select proper
|
|
%% type name depending on the OTP version used.
|
|
{erl_opts,
|
|
[
|
|
{platform_define, "^[0-9]+", namespaced_types}
|
|
]}.
|
|
|
|
{xref_checks, []}.
|
|
{xref_queries,
|
|
[{"(XC - UC) || (XU - X - B
|
|
- (\"escript\":\"foldl\"/\"3\")
|
|
- (\"eunit_test\":\"function_wrapper\"/\"2\")
|
|
- (\"abnfc\":\"file\"/\"2\")
|
|
- (\"erlydtl\":\"compile\"/\"3\")
|
|
- (\"lfe_comp\":\"file\"/\"2\")
|
|
- (\"neotoma\":\"file\"/\"2\")
|
|
- (\"protobuffs_compile\":\"scan_file\"/\"2\")
|
|
- (\"gpb_compile\":\"file\"/\"2\")
|
|
- (\"diameter_codegen\":\"from_dict\"/\"4\")
|
|
- (\"diameter_dict_util\":\"format_error\"/\"1\")
|
|
- (\"diameter_dict_util\":\"parse\"/\"2\"))",
|
|
[]}]}.
|