2013-01-16 10:47:23 -07:00
|
|
|
%% -*- mode: erlang -*-
|
|
|
|
%% ex: ft=erlang
|
2010-01-08 12:16:57 -07:00
|
|
|
{sys, [
|
|
|
|
{lib_dirs, []},
|
2011-12-19 23:21:45 +01:00
|
|
|
{erts, [{mod_cond, derived}, {app_file, strip}]},
|
|
|
|
{app_file, strip},
|
2010-01-08 12:16:57 -07:00
|
|
|
{rel, "{{nodeid}}", "1",
|
|
|
|
[
|
|
|
|
kernel,
|
|
|
|
stdlib,
|
2011-12-19 23:21:45 +01:00
|
|
|
sasl,
|
|
|
|
{{nodeid}}
|
2010-01-08 12:16:57 -07:00
|
|
|
]},
|
|
|
|
{rel, "start_clean", "",
|
|
|
|
[
|
|
|
|
kernel,
|
|
|
|
stdlib
|
|
|
|
]},
|
|
|
|
{boot_rel, "{{nodeid}}"},
|
|
|
|
{profile, embedded},
|
2012-06-19 00:38:17 +02:00
|
|
|
{incl_cond, derived},
|
2011-09-20 09:44:41 -07:00
|
|
|
{excl_archive_filters, [".*"]}, %% Do not archive built libs
|
2013-05-19 15:40:44 -04:00
|
|
|
{excl_sys_filters, ["^bin/(?!start_clean.boot)",
|
|
|
|
"^erts.*/bin/(dialyzer|typer)",
|
2012-01-20 17:30:50 +01:00
|
|
|
"^erts.*/(doc|info|include|lib|man|src)"]},
|
2011-12-19 23:21:45 +01:00
|
|
|
{excl_app_filters, ["\.gitignore"]},
|
2012-06-19 00:38:17 +02:00
|
|
|
{app, {{nodeid}}, [{mod_cond, app}, {incl_cond, include}]}
|
2010-01-08 12:16:57 -07:00
|
|
|
]}.
|
|
|
|
|
2010-07-06 12:03:20 -06:00
|
|
|
{target_dir, "{{nodeid}}"}.
|
2010-01-08 12:16:57 -07:00
|
|
|
|
2010-07-06 12:03:20 -06:00
|
|
|
{overlay, [
|
|
|
|
{mkdir, "log/sasl"},
|
|
|
|
{copy, "files/erl", "\{\{erts_vsn\}\}/bin/erl"},
|
2013-01-13 21:11:52 +09:00
|
|
|
{copy, "files/nodetool", "releases/\{\{rel_vsn\}\}/nodetool"},
|
2013-05-19 15:40:44 -04:00
|
|
|
{copy, "{{nodeid}}/bin/start_clean.boot",
|
|
|
|
"\{\{erts_vsn\}\}/bin/start_clean.boot"},
|
2010-07-06 12:03:20 -06:00
|
|
|
{copy, "files/{{nodeid}}", "bin/{{nodeid}}"},
|
2011-08-10 10:32:26 -05:00
|
|
|
{copy, "files/{{nodeid}}.cmd", "bin/{{nodeid}}.cmd"},
|
|
|
|
{copy, "files/start_erl.cmd", "bin/start_erl.cmd"},
|
2015-01-20 10:18:10 +03:00
|
|
|
%% Following line may be safely removed in new projects
|
2012-01-09 16:37:44 -06:00
|
|
|
{copy, "files/install_upgrade.escript", "bin/install_upgrade.escript"},
|
|
|
|
{copy, "files/sys.config", "releases/\{\{rel_vsn\}\}/sys.config"},
|
2011-09-20 09:44:41 -07:00
|
|
|
{copy, "files/vm.args", "releases/\{\{rel_vsn\}\}/vm.args"}
|
2011-04-15 16:40:25 +02:00
|
|
|
]}.
|