-
Notifications
You must be signed in to change notification settings - Fork 13
/
rebar.config
64 lines (47 loc) · 2.07 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
62
63
64
{erl_opts, [debug_info]}.
{deps, [{erldns, {git, "https://github.com/tsloughter/erldns.git", {branch, "revamp"}}},
{dns, {git, "https://github.com/tsloughter/dns_erlang.git", {branch, "hex-deps"}}},
recon,
eql,
jsx,
{uuid, "2.0.6", {pkg, uuid_erl}},
{elli, "~> 3.3.0"},
{grpcbox, "~> 0.16.0"},
{pgo, "~> 0.14.0"}]}.
{relx, [{release, {service_discovery, {git, long}},
[service_discovery_postgres,
service_discovery,
service_discovery_http,
service_discovery_grpc,
recon]},
{sys_config, "./config/dev_sys.config"},
{vm_args, "./config/dev_vm.args"},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true},
{overlay, [{copy, "apps/service_discovery_postgres/priv/migrations/*", "sql/"}]}]}.
{shell, [{apps, [service_discovery_postgres, service_discovery,
service_discovery_http,
service_discovery_grpc, recon]},
{env_file, "deployment/base/default.env"}]}.
%% {dist_node, [{name, '[email protected]'}]}.
{profiles, [{prod, [{relx, [{sys_config_src, "./config/sys.config.src"},
{vm_args_src, "./config/vm.args.src"},
{dev_mode, false},
{include_src, false},
{include_erts, true},
{debug_info, strip}]}]},
{test, [{erl_opts, [nowarn_export_all]},
{deps, [docker_compose_cth]}]}]
}.
{project_plugins, [covertool, grpcbox_plugin]}.
{cover_enabled, true}.
{cover_export_enabled, true}.
{covertool, [{coverdata_files, ["ct.coverdata"]}]}.
{ct_opts, [{sys_config, "config/test.config"},
%% generate junit xml report from test results
{ct_hooks, [cth_surefire]}]}.
{overrides, [{override, base32, [{plugins, []}]}]}.
{xref_checks,[undefined_function_calls, undefined_functions, %% locals_not_used,
deprecated_function_calls, deprecated_functions]}.
{dialyzer, [{warnings, [no_unknown]}]}.