-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrebar.config
83 lines (83 loc) · 2.63 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
79
80
81
82
83
%% == Erlang Compiler ==
{erl_opts, [debug_info]}.
%% == Dependencies ==
{deps, [
{epgsql, {git, "https://github.com/epgsql/epgsql.git", {tag, "4.1.0"}}},
{cowboy, {git, "https://github.com/ninenines/cowboy.git", {tag, "2.4.0"}}},
{jiffy, {git, "https://github.com/davisp/jiffy.git", {tag, "0.15.2"}}},
{leader_cron, {git, "https://github.com/jeraymond/leader_cron.git", {tag, "0.1"}}}
]}.
{plugins, [rebar3_auto]}.
%% == Release ==
{relx, [
{release, { contacts_crud, "0.1.0" },
[
kernel,
stdlib,
sasl,
%% --------------
epgsql,
cowboy,
jiffy,
{leader_cron, load},
%% --------------
contacts_crud
]},
{sys_config, "./config/prod/sys.config"},
{dev_mode, false},
{include_erts, false},
{extended_start_script, true},
{overlay, [
{mkdir, "data"},
{mkdir, "logs"},
{mkdir, "etc"}
]}
]}.
%% == Profiles ==
{profiles, [
{prd, [
{relx, [
{dev_mode, false},
{include_src, false},
{include_erts, true},
{sys_config, "./config/prd/sys.config"}
]}
]},
{lint, [
{plugins, [
{rebar3_lint,
{git, "https://github.com/project-fifo/rebar3_lint.git", {tag, "0.1.2"}}}
]}
]},
{docs, [
{deps, [
{edown,
".*", {git, "https://github.com/uwiger/edown.git", {branch, "master"}}}
]}
]},
{test, [
{deps, [
meck,
hackney,
jiffy
]},
{erl_opts, [debug_info, export_all]}
]}
]}.
{ct_opts, [
{sys_config, "config/test/sys.config"}
]}.
%% == Cover ==
{cover_enabled, true}.
{cover_opts, [verbose]}.
%% == EDoc ==
{edoc_opts, [
{report_missing_types, true},
{source_path, ["src"]},
{report_missing_types, true},
{todo, true},
{packages, false},
{subpackages, false}
]}.
%% == Shell ==
{shell, [{config, "config/test/sys.config"}, {apps, [sasl, epgsql, contacts_crud]}]}.