mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
43 lines
1.5 KiB
Text
43 lines
1.5 KiB
Text
{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},
|
|
{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, {{nodeid}}, [{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/sys.config", "releases/\{\{rel_vsn\}\}/sys.config"},
|
|
{copy, "files/{{nodeid}}.cmd", "bin/{{nodeid}}.cmd"},
|
|
{copy, "files/start_erl.cmd", "bin/start_erl.cmd"},
|
|
{copy, "files/vm.args", "releases/\{\{rel_vsn\}\}/vm.args"}
|
|
]}.
|