forked from halturin/mx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rebar.config
85 lines (69 loc) · 1.95 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
{minimum_otp_vsn, "18.0"}.
{validate_app_modules, true}.
{cover_enabled, true}.
{reset_after_eunit, true}.
{deps, [
{gproc, {git, "git://github.com/uwiger/gproc.git", {tag, "0.8.0"}}},
{lager, {git, "git://github.com/erlang-lager/lager.git", {tag, "3.6.8"}}},
{sync, {git, "git://github.com/rustyio/sync.git", {branch, "master"}}}
]}.
{erl_opts, [{parse_transform, lager_transform}]}.
{ct_opts, []}.
% Surefire reports for EUnit (Format used by Maven and Atlassian Bamboo for example
% to integrate test results).
{eunit_opts, [{report, {eunit_surefire, [{dir, "_build/test"}]}}]}.
{edoc_opts, [{dir, "_build/edoc"}]}.
{relx, [
{default_release, {mx_dev, "1.0.0"}},
{release, {mx_dev, "1.0.0"}, [
sync,
observer,
wx,
runtime_tools,
debugger,
inets,
{mnesia, load},
lager,
gproc,
mx
]},
{release, {mx, "1.0.0"}, [
inets,
{mnesia, load},
lager,
gproc,
mx
]},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true},
{vm_args, "conf/vm.args"},
{sys_config, "conf/sys.config"}
]}.
{profiles, [
{prod, [
{erl_opts, [
no_debug_info,
warnings_as_errors
]},
{relx, [{dev_mode, false},
{include_erts, true},
{extended_start_script, true},
{include_src, false}]}
]},
{test, [
{erl_opts, [
debug_info,
{parse_transform, lager_transform},
nowarn_unused_vars
]}
]}
]}.
{plugins, [
{rebar3_run, {git, "git://github.com/tsloughter/rebar3_run.git", {branch, "master"}}},
{pc, {git, "git://github.com/blt/port_compiler.git", {tag, "1.6.0"}}}
]}.
% {commands, [
% {distclean, "rm -rf .rebar3 _build _checkouts/*/ebin ebin log"},
% {sync, "git fetch upstream && git merge upstream/master"}
% ]}.