-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrebar.config
78 lines (65 loc) · 1.75 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
70
71
72
73
74
75
76
77
78
{erl_opts, [debug_info]}.
{deps, [{erlperf, "2.2.0"}]}.
{project_plugins, [erlfmt]}.
{plugins, [
{ rebar3_gpb_plugin, "2.22.1" },
rebar3_ex_doc
]}.
{erlfmt, [
write,
verbose,
{print_width, 100},
{files, ["apps/*/{src,include,test}/*.{hrl,erl,app.src}", "rebar.config"]}
]}.
{edoc_opts, [
{preprocess, true},
{stylesheet, "style.css"},
{includes, ["./_build/default/plugins/gpb/include"]}
]}.
{ex_doc, [
{extras, [
{"README.md", #{title => "Overview"}}
]},
{main, "README.md"},
{homepage_url, "https://github.com/starbelly/rebar3_ex_doc"},
{source_url, "https://github.com/starbelly/rebar3_ex_doc"},
{assets, "assets"},
{api_reference, false}
]}.
{shell, [
{apps, [server]}
]}.
{ct_opts, []}.
{cover_enabled, true}.
{cover_opts, [verbose]}.
{ct_readable, true}.
{relx, [
{release, {tiny_demo, "0.1.0"}, [
tiny_demo,
sasl
]},
{mode, dev},
%% automatically picked up if the files
%% exist but can be set manually, which
%% is required if the names aren't exactly
%% sys.config and vm.args
{sys_config, "./config/sys.config"},
{vm_args, "./config/vm.args"}
%% the .src form of the configuration files do
%% not require setting RELX_REPLACE_OS_VARS
%% {sys_config_src, "./config/sys.config.src"},
%% {vm_args_src, "./config/vm.args.src"}
]}.
{profiles, [
{prod, [
{relx,
%% prod is the default mode when prod
[
%% profile is used, so does not have
%% to be explicitly included like this
{mode, prod}
%% use minimal mode to exclude ERTS
%% {mode, minimal}
]}
]}
]}.