-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathrebar.config
More file actions
100 lines (85 loc) · 3.13 KB
/
rebar.config
File metadata and controls
100 lines (85 loc) · 3.13 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
%% -*- erlang -*-
{erl_opts, [
{i, "./_build/default/plugins/gpb/include"},
debug_info, warnings_as_errors, {parse_transform, lager_transform}]}.
%%-------------------------------------------------------------------
%% Dependencies
%%-------------------------------------------------------------------
{deps,
[
recon,
trie,
fifo_utils,
{snappiest, "~>1.2.0"},
{fifo_lager, "~>0.1.4"},
{ranch, "~>1.3.0"},
{cowboy, "~>1.1.0"},
{jsone, "~>1.2.3"},
{hackney, "~>1.6.0"},
{mmath, "~>0.2.9"},
{dqe_idx, "~>0.4.0"},
{dp_decoder, "~>0.2.6"},
{dqe_idx_pg, "~>0.5.0"},
{ddb_connection, "~>0.4.2"}
]}.
%%-------------------------------------------------------------------
%% Plugins
%%-------------------------------------------------------------------
{project_plugins, [{rebar3_cuttlefish, "~>0.16.0"}]}.
{plugins, [rebar3_gpb_plugin]}.
%%-------------------------------------------------------------------
%% Cuttlefish
%%-------------------------------------------------------------------
{cuttlefish,
[{file_name, "dpx.conf"},
{schema_discovery, false}]}.
%%-------------------------------------------------------------------
%% Profiles
%%-------------------------------------------------------------------
{profiles,
[
{darwin, [{relx, [{dev_mode, false}, {include_erts, true}]}]},
{smartos, [{relx, [{dev_mode, false}, {include_erts, true}]}]},
{freebsd, [{relx, [{dev_mode, false}, {include_erts, true}]}]},
{lint, [{plugins, [rebar3_lint]}]},
{deb, [{relx, [{dev_mode, false},
{overlay_vars, "rel/vars/deb.config"},
{include_erts, true}]}]}
]}.
%%-------------------------------------------------------------------
%% RELx
%%-------------------------------------------------------------------
{relx,
[{release, {dpx, "0.3.3"},
[ddb_proxy,
{recon, load},
sasl]},
{overlay_vars, "rel/vars.config"},
{dev_mode, true},
{include_erts, true},
{generate_start_script, false},
{overlay,
[{mkdir, "etc"},
{mkdir, "share"},
{copy, "rel/files/erl", "erts-\{\{erts_vsn\}\}/bin/erl"},
{copy, "rel/files/nodetool", "erts-\{\{erts_vsn\}\}/bin/nodetool"},
{template, "share/dpx.xml", "share/dpx.xml"},
{template, "schema/dpx.schema",
"share/schema/00-dpx.schema"},
{template, "schema/erlang_vm.schema",
"share/schema/01-vm.schema"},
{template, "\{\{build_dir\}\}/lib/dqe_idx_pg/priv/dqe_idx_pg.schema",
"share/schema/02-dqe_idx_pg.schema"},
{template, "\{\{build_dir\}\}/lib/dqe_idx/priv/dqe_idx.schema",
"share/schema/03-dqe_idx.schema"},
{template, "\{\{build_dir\}\}/lib/ddb_connection/priv/ddb_connection.schema",
"share/schema/04-ddb_connection.schema"},
{template, "schema/lager.schema",
"share/schema/06-lager.schema"}
]}
]}.
{xref_checks, [undefined_function_calls,
undefined_functions,
deprecated_function_calls,
deprecated_functions]}.
{dialyzer, [{warnings, [underspecs]}]}.