-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rebar.config
43 lines (35 loc) · 969 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
%% vim: set filetype=erlang : -*- erlang -*-
{erl_opts, [
warnings_as_errors,
warn_export_all
]}.
{xref_checks, [
fail_on_warning,
undefined_function_calls
]}.
{cover_enabled, true}.
{validate_app_modules, true}.
{ct_opts, [{dir, "ct"}]}.
{erlc_compiler, [{recursive, false}]}.
%% plugins
{plugins, [{rebar3_git_vsn, "1.1.0"}]}.
{provider_hooks, [{post, [{compile, git_vsn}]}]}.
{git_vsn, [{env_key, git_vsn},
{describe_opt, "--tags --abbrev=10"},
{separate, true}]}.
%% escript
{escript_name, erlup}.
{escript_incl_apps, [rebar]}.
{escript_comment, "%% https://github.com/soranoba/erlup \n"}.
{profiles,
[{escript,
[
{deps, [{rebar, {git, "git://github.com/erlang/rebar3", {tag, "3.15.1"}}}]},
{erl_opts, [no_debug_info]},
{overrides, [{add, [{erl_opts, [no_debug_info]}]}]}
]},
{test,
[
{erl_opts, [export_all]}
]}
]}.