rebar/priv/templates/simplenode.reltool.config

41 lines
1.4 KiB
Text
Raw Normal View History

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