-
Notifications
You must be signed in to change notification settings - Fork 35
/
rebar.config
69 lines (61 loc) · 1.73 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{erl_opts, [debug_info]}.
{pre_hooks, [{"(linux|darwin|solaris)", compile, "make build-nif"}]}.
{deps, [{snabbkaffe, {git, "https://github.com/kafka4beam/snabbkaffe.git", {tag, "1.0.10"}}}]}.
{profiles, [
{test, [
{erl_opts, [{d, 'SNK_COLLECTOR'}]},
{src_dirs, ["src", "test/example"]},
{deps, [
{proper, {git, "https://github.com/proper-testing/proper.git", {branch, "master"}}}
]}
]},
{doc, [
{plugins, [rebar3_hex, rebar3_ex_doc]},
{ex_doc, [
{extras, [
"README.md",
"LICENSE",
"docs/messages_to_owner.md",
"docs/Terminology.md",
"docs/DesignDecisions.md"
]},
{main, "README.md"},
{source_url, "https://github.com/emqx/quic"}
]}
]}
]}.
{relx, [
{release, {quicer, git}, [quicer]},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true}
]}.
{project_plugins, [
{coveralls, {git, "https://github.com/qzhuyan/coveralls-erl", {branch, "qzhuyan"}}},
rebar3_hex,
rebar3_ex_do,
erlfmt,
rebar3_proper
]}.
%% Coveralls
{cover_enabled, true}.
{cover_excl_mods, [qt, qt_ssl, rev, user_default]}.
{cover_export_enabled, true}.
% or a string with wildcards or a list of files
{coveralls_coverdata, "_build/test/cover/*.coverdata"}.
{coveralls_service_name, "github"}.
{coveralls_parallel, true}.
%% HEX publish
{hex, [{doc, ex_doc}]}.
{ex_doc, [
{extras, [
"README.md",
"LICENSE",
"docs/messages_to_owner.md",
"docs/Terminology.md",
"docs/DesignDecisions.md"
]},
{main, "README.md"},
{source_url, "https://github.com/emqx/quic"}
]}.
{erlfmt, [write]}.