Current section

Files

Jump to
hex_core rebar.config
Raw

rebar.config

{erl_opts, [
debug_info,
{platform_define, "^19", 'OTP_19'}
]}.
{gpb_opts, [
{i, "proto"},
{o_erl, "src"},
{o_hrl, "src"},
{verify, always},
{strings_as_binaries, true},
{maps, true},
{maps_unset_optional, omitted},
{report_warnings, true},
{target_erlang_version, 17}
]}.
{edoc_opts, [
{doclet, edoc_doclet_chunks},
{layout, edoc_layout_chunks},
{preprocess, true},
{dir, "_build/default/lib/hex_core/doc"}]}.
{profiles, [
{dev, [
{deps, [
{gpb, "4.17.6"}
]},
{plugins, [
{rebar3_gpb_plugin, "2.20.1"}
]},
{overrides, [
{del, rebar3_gpb_plugin, [
{deps, [gpb]}
]}
]},
{provider_hooks, [
{pre, [
{compile, {protobuf, compile}},
{clean, {protobuf, clean}}
]}
]}
]},
{test, [
{erl_opts, [nowarn_export_all]},
{ct_opts, [{create_priv_dir, auto_per_tc},
{config, "test/ct.config"}]},
{plugins, [
rebar3_proper
]},
{deps, [
{proper, {git, "git://github.com/proper-testing/proper", {tag, "v1.3"}}}
]},
{extra_src_dirs, ["test/support"]}
]}
]}.