2010-01-08 19:16:57 +00:00
|
|
|
{sys, [
|
|
|
|
{lib_dirs, []},
|
2011-12-19 22:21:45 +00:00
|
|
|
{erts, [{mod_cond, derived}, {app_file, strip}]},
|
|
|
|
{app_file, strip},
|
2010-01-08 19:16:57 +00:00
|
|
|
{rel, "{{nodeid}}", "1",
|
|
|
|
[
|
|
|
|
kernel,
|
|
|
|
stdlib,
|
2011-12-19 22:21:45 +00:00
|
|
|
sasl,
|
|
|
|
{{nodeid}}
|
2010-01-08 19:16:57 +00:00
|
|
|
]},
|
|
|
|
{rel, "start_clean", "",
|
|
|
|
[
|
|
|
|
kernel,
|
|
|
|
stdlib
|
|
|
|
]},
|
|
|
|
{boot_rel, "{{nodeid}}"},
|
|
|
|
{profile, embedded},
|
2011-12-19 22:21:45 +00:00
|
|
|
{incl_cond, exclude},
|
2011-09-20 16:44:41 +00:00
|
|
|
{excl_archive_filters, [".*"]}, %% Do not archive built libs
|
2012-01-20 16:21:55 +00:00
|
|
|
{excl_sys_filters, ["^bin/.*", "^erts.*/bin/(dialyzer|typer)",
|
|
|
|
"^erts.*/(doc|info|man|src|lib|include)"]},
|
2011-12-19 22:21:45 +00:00
|
|
|
{excl_app_filters, ["\.gitignore"]},
|
|
|
|
{app, sasl, [{incl_cond, include}]},
|
|
|
|
{app, stdlib, [{incl_cond, include}]},
|
|
|
|
{app, kernel, [{incl_cond, include}]},
|
|
|
|
{app, {{nodeid}}, [{incl_cond, include}]}
|
2010-01-08 19:16:57 +00:00
|
|
|
]}.
|
|
|
|
|
2010-07-06 18:03:20 +00:00
|
|
|
{target_dir, "{{nodeid}}"}.
|
2010-01-08 19:16:57 +00:00
|
|
|
|
2010-07-06 18:03:20 +00:00
|
|
|
{overlay, [
|
|
|
|
{mkdir, "log/sasl"},
|
|
|
|
{copy, "files/erl", "\{\{erts_vsn\}\}/bin/erl"},
|
|
|
|
{copy, "files/nodetool", "\{\{erts_vsn\}\}/bin/nodetool"},
|
|
|
|
{copy, "files/{{nodeid}}", "bin/{{nodeid}}"},
|
2011-09-20 16:44:41 +00:00
|
|
|
{copy, "files/sys.config", "releases/\{\{rel_vsn\}\}/sys.config"},
|
2011-08-10 15:32:26 +00:00
|
|
|
{copy, "files/{{nodeid}}.cmd", "bin/{{nodeid}}.cmd"},
|
|
|
|
{copy, "files/start_erl.cmd", "bin/start_erl.cmd"},
|
2011-09-20 16:44:41 +00:00
|
|
|
{copy, "files/vm.args", "releases/\{\{rel_vsn\}\}/vm.args"}
|
2011-04-15 14:40:25 +00:00
|
|
|
]}.
|