23 lines
406 B
Erlang
23 lines
406 B
Erlang
{erl_opts, [{i, "include"}]}.
|
|
|
|
{gpb_opts, [
|
|
{i, "proto"},
|
|
{f, ["service.proto"]},
|
|
recursive,
|
|
{module_name_suffix, "_pb"},
|
|
{o_erl, "src/protobuf"},
|
|
{o_hrl, "include"},
|
|
include_as_lib,
|
|
{strings_as_binaries, true},
|
|
type_specs,
|
|
report,
|
|
verbose
|
|
]}.
|
|
|
|
{provider_hooks, [
|
|
{pre, [
|
|
{compile, {protobuf, compile}},
|
|
{clean, {protobuf, clean}}
|
|
]}
|
|
]}.
|