-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrebar.config
49 lines (35 loc) · 1.36 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
%%% -*- erlang -*-
{deps, []}.
{eunit_opts, [verbose, {report, {eunit_surefire, [{dir, ".eunit"}]}}]}.
{cover_enabled, true}.
{cover_opts, [verbose]}.
{cover_export_enabled, true}.
{erl_opts,
[debug_info,
warn_unused_import,
warnings_as_errors,
warn_missing_spec,
{platform_define, "^[0-9]+", namespaced_types}]}.
{profiles,
[{elvis, [{deps, [{elvis, {git, "https://github.com/inaka/elvis.git", {tag, "3.2.6"}}}]}]},
{test, [{erl_opts, [nowarn_missing_spec]}]}]}.
{dialyzer, [{plt_apps, all_deps}, {warnings, [unknown, underspecs]}]}.
{xref_checks, [deprecated_function_calls, undefined_function_calls]}.
{shell, [{apps, [speed_trap]}]}.
{project_plugins, [rebar3_format, rebar3_hex, rebar3_ex_doc, rebar3_check_app_calls, rebar3_hank]}.
{hex, [{doc, #{provider => ex_doc}}]}.
{plugins, [{gradualizer, {git, "https://github.com/josefs/Gradualizer.git", {branch, "master"}}}]}.
{format,
[{options,
#{paper => 100,
ribbon => 100,
parse_macro_definitions => true,
truncate_strings => true,
break_indent => 2,
inline_qualified_function_composition => true,
output_dir => current}}]}.
{ex_doc,
[{extras, [{'README.md', #{title => <<"Overview">>}}, {'LICENSE', #{title => <<"License">>}}]},
{main, <<"readme">>},
{homepage_url, <<"https://github.com/klarna/speed_trap">>},
{source_url, <<"https://github.com/klarna/speed_trap">>}]}.