forked from hexpm/hex_core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rebar.config
50 lines (49 loc) · 1.19 KB
/
rebar.config
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
{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}
]}.
{profiles, [
{dev, [
{plugins, [
{rebar3_gpb_plugin, "2.12.0"}
]},
{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"]}
]},
{docs, [
{deps, [{edown, "0.8.1"}]},
{edoc_opts, [
{doclet, edown_doclet},
{preprocess, true},
{dir, "doc"},
{subpackages, true}]}
]}
]}.
{post_hooks, [{edoc, "doc/build.sh"}]}.