-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathrebar.config
118 lines (108 loc) · 2.97 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{erl_opts, [debug_info]}.
{lfe_first_files, ["src/xt.lfe"]}.
{deps, [
{coers, {git, "https://github.com/erlsci/coers", {tag, "0.3.0"}}},
{lfe, {git, "https://github.com/rvirding/lfe", {branch, "develop"}}},
{logjam, {git, "https://github.com/lfex/logjam", {tag, "1.0.0-rc2"}}},
{midilib, {git, "https://github.com/erlsci/midilib", {branch, "release/0.3.x"}}},
{osc, {git, "https://github.com/erlsci/osc", {branch, "release/2.2.x"}}},
{erlexec, {git, "https://github.com/saleyn/erlexec", {ref, "8d423b2abbff82ecfb715191bca887974d558b06"}}},
{'tcp-client', {git, "https://github.com/lfex/tcp-client", {tag, "0.2.1"}}}
]}.
{plugins, [
{rebar3_lfe, {git, "https://github.com/lfe-rebar3/rebar3_lfe", {branch, "release/0.3.x"}}},
{rebar3_undertone, {git, "https://github.com/ut-proj/rebar3_undertone.git", {branch, "release/0.1.x"}}}
]}.
{provider_hooks, [
{pre, [
{compile, {lfe, compile}}
]}
]}.
{xref_checks, [
undefined_function_calls, undefined_functions, locals_not_used,
deprecated_function_calls, deprecated_functions
]}.
{dialyzer, [
{warnings, [unknown]}
]}.
{relx, [
{release,
{undertone, "0.3.0-dev"},
[
lfe,
logjam,
sasl,
erlexec,
'undertone-lib',
undertone
]},
{sys_config, "./config/sys.config"},
{vm_args, "./config/vm.args"},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true}
]}.
{profiles, [
{test, [
{deps, [
{proper, {git, "https://github.com/proper-testing/proper", {tag, "v1.3"}}},
{ltest, {git, "https://github.com/lfex/ltest", {tag, "0.11.0"}}}
]},
{plugins, [
{rebar3_proper, {git, "https://github.com/ferd/rebar3_proper", {tag, "0.12.0"}}}
]},
{eunit_opts, [verbose]},
{erl_opts, [
{src_dirs, ["src", "test"]}
]}
]},
{extempore, [
{undertone, [
{repl, {'undertone.repl.extempore', start, []}}
]}
]},
{undertone, [
{undertone, [
{repl, {'undertone.repl', start, []}}
]}
]},
{prod, [
[{relx, [{dev_mode, false},
{include_erts, true}]}]
]}
]}.
%% Default undertone REPL
{undertone, [
%% Comment both out to default to the LFE REPL
{repl, {'undertone.repl.extempore', start, []}}
%%{repl, {'undertone.repl', start, []}}
]}.
{alias, [
{repl, [
compile,
{lfe, repl}
]},
%% Call the following with a profile, e.g.:
%% - rebar3 as undertone utrepl
%% - rebar3 as extempore utrepl
%% Call with no profile to use the default
{utrepl, [
compile,
{undertone, repl}
]},
{ltest, [
compile,
{lfe, ltest}
]},
{coverage, [
{proper, "-c"},
{cover, "-v --min_coverage=0"}
]},
{check, [
compile,
xref,
%dialyzer,
{lfe, ltest},
coverage
]}
]}.