forked from erlang/sourcer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrebar.config
51 lines (43 loc) · 1.4 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
{require_otp_vsn, "20.*"}.
{erl_opts, [
warn_deprecated_function,
warn_export_all,
warn_export_vars,
warn_obsolete_guard,
warn_shadow_vars,
warn_unused_function,
warn_unused_import,
warn_unused_record,
warn_unused_vars,
nowarnings_as_errors
%warnings_as_errors
]}.
{xref_warnings, true}.
{xref_checks, [
undefined_function_calls,
undefined_functions,
locals_not_used,
% exports_not_used,
deprecated_function_calls,
deprecated_functions
]}.
{cover_export_enabled, true}.
{cover_enabled, true}.
{cover_print_enable, true}.
{dialyzer, [
%% Store PLT locally inside the project in .rebar (Default)
%% {plt_location, local},
%% Store PLT in custom directory
%% {plt_location, "custom_dir"},
{warnings, [unmatched_returns, error_handling, unknown]},
{base_plt_apps, [erts, kernel, stdlib, syntax_tools, tools]}
]}.
{plugins, [{coveralls, {git, "git://github.com/markusn/coveralls-erl.git", {branch, "master"}}}]}.
{cover_enabled , true}.
{cover_export_enabled , true}.
{cover_print_enable , true}.
{coveralls_coverdata , "_build/test/cover/eunit.coverdata"}.
{coveralls_service_name , "travis-ci"}.
{escript_main_app, erlang_ls}.
{escript_comment, "%% v0.2.0\n"}.
{provider_hooks, [{post, [{compile, escriptize}]}]}.