mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Trim reltool config and add nodeid to release
This commit is contained in:
parent
e4c85d4548
commit
0bdda5baa1
1 changed files with 13 additions and 9 deletions
|
@ -1,10 +1,13 @@
|
|||
{sys, [
|
||||
{lib_dirs, []},
|
||||
{erts, [{mod_cond, derived}, {app_file, strip}]},
|
||||
{app_file, strip},
|
||||
{rel, "{{nodeid}}", "1",
|
||||
[
|
||||
kernel,
|
||||
stdlib,
|
||||
sasl
|
||||
sasl,
|
||||
{{nodeid}}
|
||||
]},
|
||||
{rel, "start_clean", "",
|
||||
[
|
||||
|
@ -13,16 +16,17 @@
|
|||
]},
|
||||
{boot_rel, "{{nodeid}}"},
|
||||
{profile, embedded},
|
||||
{incl_cond, exclude},
|
||||
{excl_archive_filters, [".*"]}, %% Do not archive built libs
|
||||
{excl_sys_filters, ["^bin/.*",
|
||||
{excl_sys_filters, ["^bin/.*", "^erts.*/doc", "^erts.*/src",
|
||||
"^erts.*/info", "^erts.*/man",
|
||||
"^erts.*/lib", "^erts.*/include",
|
||||
"^erts.*/bin/(dialyzer|typer)"]},
|
||||
|
||||
%% Including HiPE can cause issues generating your first upgrade.
|
||||
%% If you plan to distribute HiPE in your release remove the
|
||||
%% following line.
|
||||
{app, hipe, [{incl_cond, exclude}]},
|
||||
|
||||
{app, sasl, [{incl_cond, include}]}
|
||||
{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}}"}.
|
||||
|
|
Loading…
Reference in a new issue