-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrebar.config
More file actions
96 lines (85 loc) · 2.01 KB
/
rebar.config
File metadata and controls
96 lines (85 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{deps, [
gun
]}.
{project_plugins, [
rebar3_ex_doc,
{rebar3_gpb_plugin, "2.23.2"},
{rebar3_egrpc_plugin, "0.1.0"}
]}.
{gpb_opts, [
{module_name_prefix, "egrpc_"},
{module_name_suffix, "_pb"},
{recursive, true},
{json, true},
{json_format, maps},
{json_object_format, map},
{json_key_format, atom},
{json_array_format, list},
{json_string_format, binary},
{json_null, undefined},
{i, "priv/protos/"},
{ipath, "_build/default/plugins/gpb/priv/proto3/"},
{ipath, "priv/protos/"},
use_packages,
{o_erl, "src/protos"},
{o_hrl, "include"},
{strings_as_binaries, true},
maps,
{maps_unset_optional, omitted},
type_specs
]}.
{egrpc_opts, [
{out_dir, "src/clients"},
{module_name_prefix, "egrpc_"},
{module_name_suffix, "_client"},
{protos, "priv/protos/"}
]}.
{xref_ignores, [
egrpc_health_pb,
egrpc_reflection_v1_pb,
egrpc_reflection_v1alpha_pb
]}.
{profiles, [
{dev, [
{provider_hooks, [
{pre, [
{compile, {protobuf, compile}},
{clean, {protobuf, clean}}
]}
]}
]}
]}.
{shell, [
% {config, "config/sys.dev.config"},
{apps, [egrpc]}
]}.
{dialyzer, [
{plt_extra_apps, [ssl, public_key]}
]}.
{hex, [{doc, ex_doc}]}.
{ex_doc, [
{source_url, <<"https://github.com/belltoy/egrpc">>},
{extras, [<<"README.md">>, <<"LICENSE.md">>]},
{main, <<"readme">>},
{groups_for_modules, [
{<<"System">>, [
egrpc,
egrpc_codec,
egrpc_error,
egrpc_grpc,
egrpc_stream,
egrpc_stream_interceptor,
egrpc_stub
]},
{<<"Codec">>, [
egrpc_erlpack,
egrpc_json,
egrpc_proto
]},
{<<"Clients">>, [
egrpc_grpc_health_v1_health_client,
egrpc_grpc_reflection_v1_server_reflection_client,
egrpc_grpc_reflection_v1alpha_server_reflection_client
]}
]}
]}.