forked from dwango/moyo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrebar.config
61 lines (50 loc) · 1.31 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
%% vim: set filetype=erlang : -*- erlang -*-
{require_min_otp_vsn, "OTP18"}.
%% erlangのコンパイルオプション.
{erl_opts, [
warnings_as_errors,
warn_untyped_record,
{platform_define, "^(R|1|20)", 'FUN_STACKTRACE'}
]}.
%% link時バリデーションオプション.
{xref_checks, [
fail_on_warning,
undefined_function_calls
]}.
%% clean時の削除対象.
{clean_files, [".eunit/*", "ebin/*.beam"]}.
%% テスト時にコードカバレッジの測定を有効にするかどうか.
{cover_enabled, true}.
%% edocのオプション.
{edoc_opts, [
{doclet, edown_doclet},
{dialyzer_specs, all},
{report_missing_type, true},
{report_type_mismatch, true},
{pretty_print, erl_pp},
{preprocess, true}
]}.
{validate_app_modules, true}.
%% `rebar3 shell`実行時の起動アプリケーション.
{shell, [{apps, [moyo]}]}.
%% Dialyzerのオプション.
{dialyzer,
[
{plt_extra_apps, [eunit]},
{warnings, [error_handling, unmatched_returns, unknown, no_improper_lists]}
]}.
{ct_dirs, "ct"}.
%% 依存ライブラリ群.
{profiles,
[{test,
[{deps,
[
meck
]}
]},
{dev,
[{deps,
[
edown
]}]}
]}.