-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrebar.config
49 lines (40 loc) · 880 Bytes
/
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
%% General Erlang config.
{erl_opts, [
debug_info,
{src_dirs, ["src", "test"]}
]}.
%% Escript config.
{escript_main_app, paterl}.
{escript_name, "paterl"}.
{escript_incl_apps, [paterl]}.
{escript_emu_args, "%%! +sbtu +A1\n"}.
{escript_shebang, "#!/usr/bin/env escript\n"}.
{escript_comment, "%%Created by Duncan\n"}.
%% Dependencies.
{deps, []}.
%% Plugins.
{plugins, [rebar3_ex_doc]}.
%% ExDoc config.
{ex_doc, [
{extras, ["README.md"]},
{main, "README.md"},
{source_url, "https://github.com/duncanatt/paterl"}
]}.
%% EUnit test config.
{eunit_opts, [verbose]}.
{eunit_tests, [
{module, paterl_syntax},
{module, paterl_types},
{module, paterl_anno}
]}.
{cover_enabled, true}.
{dialyzer, [
{plt_apps, all_deps},
{plt_extra_apps, [stdlib, syntax_tools, eunit]}
]}.
%% Build profile config.
{profiles, [
{test, [
{erl_opts, [debug_info]}
]}
]}.