-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathrebar.config
More file actions
59 lines (59 loc) · 1.7 KB
/
rebar.config
File metadata and controls
59 lines (59 loc) · 1.7 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
{deps, [
{lager, "~> 3.9"},
{jsx, "~> 2.11"},
{jsxd, "~> 0.2"},
{cowboy, "~> 2.9"},
{http_signature, "2.0.0"},
{gun, "~> 2.0"},
{ra, "~> 2.3"},
{erlydtl, "~> 0.14"},
{prometheus, "~> 4.8.0"},
{kerlberos, "~> 2.0"},
{rdp_proto, ".*", {git, "https://github.com/eait-itig/rdp_proto", {branch, "master"}}},
{rdp_lvgl, ".*", {git, "https://github.com/eait-itig/rdp_lvgl", {branch, "main"}}}
]}.
{plugins, [
{provider_asn1, "~> 0.3"}
]}.
{shell, [
{config, "config/sys.config"},
{apps, [rdpproxy]}
]}.
{relx, [
{release, {rdpproxy, "1.0.0"}, [rdpproxy, runtime_tools]},
{include_erts, true},
{extended_start_script, true},
{sys_config, "config/sys.config"},
{vm_args, "config/vm.args"},
{overlay, [{copy, "scripts/rdpproxy-admin", "bin/"}]},
{exclude_modules, [{prometheus, [prometheus_mnesia_collector]}]}
]}.
{erl_opts, [{parse_transform, lager_transform}, {i, "include/"}]}.
{edoc_opts, [{preprocess, true}]}.
{overrides, [
{del, http_signature, [{erl_opts, [warnings_as_errors]}]},
{override, cowboy, [
%% see https://github.com/erlang/rebar3/issues/2364
%% and https://github.com/ninenines/cowboy/issues/1670
{deps, [
{cowlib, "~> 2.14.0"},
{ranch, "~> 1.8.1"}
]}
]},
{override, gun, [
%% see https://github.com/erlang/rebar3/issues/2364
%% and https://github.com/ninenines/cowboy/issues/1670
{deps, [
{cowlib, "~> 2.15.0"}
]}
]}
]}.
{asn1_args, [{encoding, ber}, {compile_opts, [ber, der, undec_rest]}]}.
{provider_hooks, [
{pre, [
{compile, {asn, compile}}
]},
{post, [
{clean, {asn, clean}}
]}
]}.