2013-01-16 17:47:23 +00:00
|
|
|
%% -*- mode: erlang -*-
|
|
|
|
%% ex: ft=erlang
|
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},
|
2012-06-18 22:38:17 +00:00
|
|
|
{incl_cond, derived},
|
2011-09-20 16:44:41 +00:00
|
|
|
{excl_archive_filters, [".*"]}, %% Do not archive built libs
|
2013-05-19 19:40:44 +00:00
|
|
|
{excl_sys_filters, ["^bin/(?!start_clean.boot)",
|
|
|
|
"^erts.*/bin/(dialyzer|typer)",
|
2012-01-20 16:30:50 +00:00
|
|
|
"^erts.*/(doc|info|include|lib|man|src)"]},
|
2011-12-19 22:21:45 +00:00
|
|
|
{excl_app_filters, ["\.gitignore"]},
|
2012-06-18 22:38:17 +00:00
|
|
|
{app, {{nodeid}}, [{mod_cond, app}, {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"},
|
2013-01-13 12:11:52 +00:00
|
|
|
{copy, "files/nodetool", "releases/\{\{rel_vsn\}\}/nodetool"},
|
2013-05-19 19:40:44 +00:00
|
|
|
{copy, "{{nodeid}}/bin/start_clean.boot",
|
|
|
|
"\{\{erts_vsn\}\}/bin/start_clean.boot"},
|
2010-07-06 18:03:20 +00:00
|
|
|
{copy, "files/{{nodeid}}", "bin/{{nodeid}}"},
|
2011-08-10 15:32:26 +00:00
|
|
|
{copy, "files/{{nodeid}}.cmd", "bin/{{nodeid}}.cmd"},
|
|
|
|
{copy, "files/start_erl.cmd", "bin/start_erl.cmd"},
|
2012-01-09 22:37:44 +00:00
|
|
|
{copy, "files/install_upgrade.escript", "bin/install_upgrade.escript"},
|
|
|
|
{copy, "files/sys.config", "releases/\{\{rel_vsn\}\}/sys.config"},
|
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
|
|
|
]}.
|