-
Notifications
You must be signed in to change notification settings - Fork 3
/
reltool.config
43 lines (41 loc) · 1.45 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
{sys, [
{lib_dirs, []},
{erts, [{mod_cond, derived}, {app_file, strip}]},
{app_file, strip},
{rel, "mynode", "1",
[
kernel,
stdlib,
sasl,
mynode
]},
{rel, "start_clean", "",
[
kernel,
stdlib
]},
{boot_rel, "mynode"},
{profile, embedded},
{incl_cond, exclude},
{excl_archive_filters, [".*"]}, %% Do not archive built libs
{excl_sys_filters, ["^bin/.*", "^erts.*/doc", "^erts.*/src",
"^erts.*/info", "^erts.*/man",
"^erts.*/lib", "^erts.*/include",
"^erts.*/bin/(dialyzer|typer)"]},
{excl_app_filters, ["\.gitignore"]},
{app, sasl, [{incl_cond, include}]},
{app, stdlib, [{incl_cond, include}]},
{app, kernel, [{incl_cond, include}]},
{app, mynode, [{incl_cond, include}]}
]}.
{target_dir, "mynode"}.
{overlay, [
{mkdir, "log/sasl"},
{copy, "files/erl", "\{\{erts_vsn\}\}/bin/erl"},
{copy, "files/nodetool", "\{\{erts_vsn\}\}/bin/nodetool"},
{copy, "files/mynode", "bin/mynode"},
{copy, "files/sys.config", "releases/\{\{rel_vsn\}\}/sys.config"},
{copy, "files/mynode.cmd", "bin/mynode.cmd"},
{copy, "files/start_erl.cmd", "bin/start_erl.cmd"},
{copy, "files/vm.args", "releases/\{\{rel_vsn\}\}/vm.args"}
]}.