-
Notifications
You must be signed in to change notification settings - Fork 22
/
rebar.config
60 lines (53 loc) · 1.67 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
{minimum_otp_vsn, "21.0"}.
{deps, [
{getopt, "1.0.1"},
{typerefl, {git, "https://github.com/ieQu1/typerefl.git", {tag, "0.9.1"}}}
]}.
{edoc_opts, [{preprocess, true}]}.
{erl_opts, [
warn_unused_vars,
warn_shadow_vars,
warn_unused_import,
warn_obsolete_guard,
debug_info
]}.
{xref_checks, [
undefined_function_calls,
undefined_functions,
locals_not_used,
deprecated_function_calls,
warnings_as_errors,
deprecated_functions
]}.
{cover_enabled, true}.
{cover_opts, [verbose]}.
{cover_export_enabled, true}.
{cover_excl_mods, [hocon_parser, hocon_scanner, hocon_cli]}.
{profiles, [
{test, [
{deps, [
{proper, "1.4.0"},
{cuttlefish, {git, "https://github.com/emqx/cuttlefish.git", {tag, "v3.3.8"}}},
{erlymatch, {git, "https://github.com/zmstone/erlymatch.git", {tag, "1.1.0"}}}
]},
{extra_src_dirs, ["sample-configs", "sample-schemas", "_build/test/lib/cuttlefish/test"]},
{erl_opts, [{i, "_build/test/lib/cuttlefish/include"}]}
]},
{cuttlefish, [
{deps, [{cuttlefish, {git, "https://github.com/emqx/cuttlefish.git", {tag, "v3.3.8"}}}]},
{erl_opts, [{d, 'CUTTLEFISH_CONVERTER', true}]}
]},
{es, [
{post_hooks, [
{"(linux|darwin|solaris|freebsd|netbsd|openbsd)", escriptize,
"cp _build/es/bin/hocon ./"},
{"win32", escriptize, "copy _build\\es\\bin\\hocon ."}
]}
]}
]}.
{escript_name, hocon}.
{escript_wrappers_windows, ["cmd", "powershell"]}.
{escript_comment, "%% Hocon 0.1.0"}.
{escript_emu_args, "%%! +sbtu +A1\n"}.
{yrl_opts, [verbose, warnings_as_errors]}.
{project_plugins, [erlfmt]}.