Current section
Files
Jump to
Current section
Files
rebar.config
{deps, [
{gpb, "4.10.5"}
]}.
{plugins, [{rebar3_gpb_plugin, "2.12.5"}]}.
{erl_opts, [
{i, "./_build/default/plugins/gpb/include"},
{platform_define, "^(19|2)", rand_only},
warn_bif_clash,
warn_deprecated_function,
warn_deprecated_type,
warn_export_all,
warn_shadow_vars,
warn_obsolete_guard,
warn_unused_import,
warn_unused_function,
warn_unused_record,
warn_unused_vars,
warnings_as_errors
]}.
{profiles, [
{test, [
{ct_opts, [
{ct_hooks, [nifoc_ct_hook]}
]},
{deps, [
{nifoc_ct_helper, {git, "git://github.com/nifoc/nifoc_ct_helper", {branch, "master"}}}
]}
]}
]}.
{gpb_opts, [
{i, "proto"},
{module_name_suffix, "_pb"},
{o_erl, "src"},
{o_hrl, "include"},
{strings_as_binaries, true},
type_specs,
epb_compatibility]}.
{provider_hooks, [
{pre, [{compile, {protobuf, compile}},
{clean, {protobuf, clean}}
]}
]}.