forked from luceracloud/tachyon-aggregator
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrebar.config
100 lines (88 loc) · 2.85 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
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
{lib_dirs, ["deps", "apps"]}.
{erl_opts, [{i, "deps"},
{parse_transform, lager_transform},
warnings_as_errors,
debug_info]}.
{edoc_opts, [{dir, "../../doc"}]}.
{sub_dirs, ["rel", "apps/tachyon"]}.
{cover_enabled, true}.
{eunit_opts, [{report,{eunit_surefire,[{dir,"."}]}}]}.
{deps,
[
{blume, "~>0.1.0"},
{jsx, "~>1.4.5"},
ensq,
fifo_utils,
fifo_lager,
fifo_dt,
libsniffle,
{ddb_client, "~>0.5.7"},
{dqe_idx, "~>0.4.2"},
{dqe_idx_pg, "~>0.5.5"},
{dqe_idx_ddb, "~>0.5.1"},
eper,
recon
]}.
{pre_hooks, [{compile, "make version_header"}]}.
{profiles,
[
{shell, [{deps, [sync]}]},
{lint,
[{plugins,
[rebar3_lint
]}]},
{prod, [{relx, [{dev_mode, false}]}]}
]}.
%%-------------------------------------------------------------------
%% Plugins
%%-------------------------------------------------------------------
{plugins, [pc]}.
%%-------------------------------------------------------------------
%% Cuttlefish
%%-------------------------------------------------------------------
%% Cuttlefish config
{cuttlefish,
[{file_name, "tachyon.conf.example"},
{schema_discovery, false}]}.
{project_plugins, [rebar3_cuttlefish]}.
%%-------------------------------------------------------------------
%% RELx
%%-------------------------------------------------------------------
{relx,
[{release, {tachyon, "0.9.2p1"},
[sasl,
tachyon,
{runtime_tools, load}, %% for dyntrace
%% runtime tools
{eper, load},
{recon, load}
]},
{dev_mode, true},
{include_erts, true},
{generate_start_script, false},
{overlay_vars, "rel/vars.config"},
{overlay,
[{mkdir, "etc"},
{mkdir, "share"},
{copy, "rel/files/erl", "erts-\{\{erts_vsn\}\}/bin/erl"},
{copy, "rel/files/nodetool", "erts-\{\{erts_vsn\}\}/bin/nodetool"},
{copy, "rel/files/tachyon.rules.example", "etc/tachyon.rules.example"},
{template, "rel/files/tachyon", "bin/tachyon"},
{template, "share/tachyon.xml", "share/tachyon.xml"},
{template, "schema/tachyon.schema",
"share/schema/00-tachyon.schema"},
{template, "\{\{build_dir\}\}/lib/ensq/priv/ensq.schema",
"share/schema/01-ensq.schema"},
{template, "\{\{build_dir\}\}/lib/fifo_lager/priv/lager.schema",
"share/schema/02-lager.schema"},
{template, "\{\{build_dir\}\}/lib/fifo_utils/priv/erlang_vm.schema",
"share/schema/03-vm.schema"},
{template, "\{\{build_dir\}\}/lib/dqe_idx/priv/dqe_idx.schema",
"share/schema/04-dqe_idx.schema"},
{template, "\{\{build_dir\}\}/lib/dqe_idx_pg/priv/dqe_idx_pg.schema",
"share/schema/05-dqe_idx_pg.schema"},
{template, "\{\{build_dir\}\}/lib/ddb_connection/priv/ddb_connection.schema",
"share/schema/06-ddb_connection.schema"},
{template, "\{\{build_dir\}\}/lib/mdns_client_lib/priv/mdns_client.schema",
"share/schema/07-mdns_client.schema"}
]}]}.