forked from erlyvideo/erlyvideo-old
-
Notifications
You must be signed in to change notification settings - Fork 0
/
reltool.config
57 lines (50 loc) · 2.1 KB
/
reltool.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
{sys, [
{lib_dirs, ["apps"]},
{rel, "erlyvideo", "1",
[
kernel,
stdlib,
sasl,
crypto,
erlyvideo
]},
{rel, "start_clean", "",
[
kernel,
stdlib
]},
{boot_rel, "erlyvideo"},
{profile, embedded},
{mod_cond,all},
{excl_archive_filters, [".*"]}, % do no archive built libs
{excl_sys_filters, ["^bin/.*",
"^erts.*/bin/(dialyzer|typer)"]},
{app, mnesia, [{incl_cond, exclude}]},
{app, wx, [{incl_cond, exclude}]},
{app, edoc, [{incl_cond, exclude}]},
{app, snmp, [{incl_cond, include}]},
{app, os_mon, [{incl_cond, include}]},
{app, gs, [{incl_cond, exclude}]},
{app, sasl, [{incl_cond, include}]}
]}.
{target_dir, "erlyvideo"}.
{overlay, [
{copy, "files/erl", "{{erts_vsn}}/bin/erl"},
{copy, "files/nodetool", "{{erts_vsn}}/bin/nodetool"},
{copy, "files/erlyvideo", "bin/erlyvideo"},
{copy, "files/app.config", "etc/app.config"},
{copy, "files/vm.args", "etc/vm.args"},
{copy, "wwwroot"},
{copy, "scripts"},
{copy, "priv/erlyvideo.conf.sample", "etc/erlyvideo.conf.sample"},
{copy, "priv/log4erl.conf.sample", "etc/log4erl.conf.sample"},
{copy, "contrib/reverse_mpegts", "bin/reverse_mpegts"},
{replace, "bin/reverse_mpegts", "/usr/bin/env escript", "/opt/erlyvideo/{{erts_vsn}}/bin/escript"},
{copy, "contrib/rtmp_bench", "bin/rtmp_bench"},
{replace, "bin/rtmp_bench", "/usr/bin/env escript", "/opt/erlyvideo/{{erts_vsn}}/bin/escript"},
{copy, "contrib/rtmp_proxy", "bin/rtmp_proxy"},
{replace, "bin/rtmp_proxy", "/usr/bin/env escript", "/opt/erlyvideo/{{erts_vsn}}/bin/escript"},
{copy, "contrib/rtsp_test_client", "bin/rtsp_test_client"},
{replace, "bin/rtsp_test_client", "/usr/bin/env escript", "/opt/erlyvideo/{{erts_vsn}}/bin/escript"},
{copy, "contrib/erlyvideo", "bin/erlyvideo-initscript"}
]}.