-
Notifications
You must be signed in to change notification settings - Fork 1
/
rebar.config
60 lines (53 loc) · 1.35 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
{erl_opts, [warnings_as_errors]}.
{deps, [
{ncalendar, {git, "https://github.com/nomasystems/ncalendar.git", {tag, "0.3.1"}}},
{njson, {git, "https://github.com/nomasystems/njson.git", {tag, "2.0.0"}}}
]}.
{project_plugins, [
erlfmt,
{gradualizer, {git, "https://github.com/josefs/Gradualizer.git", {tag, "0.3.0"}}},
rebar3_ex_doc
]}.
{erlfmt, [write]}.
{profiles, [
{test, [
{erl_opts, [nowarn_export_all]},
{deps, [
{nct_util, {git, "https://github.com/nomasystems/nct_util.git", {branch, "main"}}},
{triq, {git, "https://github.com/nomasystems/triq.git", {branch, "master"}}}
]}
]}
]}.
{alias, [
{check, [
{fmt, "--check"},
xref,
dialyzer,
gradualizer
]},
{test, [
{ct, "--spec test/conf/test.spec --cover --readable true"},
cover
]},
{doc, [
{ex_doc, "-f html"}
]}
]}.
{ex_doc, [
{extras, [
{"README.md", #{title => "Overview"}},
{"CONTRIBUTING.md", #{title => "Contributing"}},
{"LICENSE", #{title => "License"}}
]},
{main, "README.md"},
{source_url, "https://github.com/nomasystems/ndto"},
{prefix_ref_vsn_with_v, false}
]}.
{cover_opts, [verbose]}.
{cover_enabled, true}.
{xref_ignores, [
ndto,
ndto_parser,
ndto_parser_json_schema,
ndto_validation
]}.