Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 45 lines (42 sloc) 1.427 kb
b6b9d87 @tuncer Add reltool based release support
tuncer authored
1 {sys, [
2 {erts, [{mod_cond, derived}, {app_file, strip}]},
3 {app_file, strip},
167c7bc @tuncer Use version from vsn.mk for reltool release
tuncer authored
4 {rel, "yaws",
5 {cmd, "sed -ne '1,/^YAWS_VSN=/s/^YAWS_VSN=//p' ../vsn.mk 2>/dev/null"},
b6b9d87 @tuncer Add reltool based release support
tuncer authored
6 [
7 kernel,
8 stdlib,
9 sasl,
10 crypto,
11 ssl,
12 public_key,
13 compiler,
14 mnesia,
15 xmerl,
16 yaws
17 ]},
18 {rel, "start_clean", "",
19 [
20 kernel,
21 stdlib
22 ]},
23 {boot_rel, "yaws"},
24 {profile, embedded},
73741c6 @tuncer Simplify reltool.config
tuncer authored
25 {incl_cond, derived},
26 {mod_cond, derived},
b6b9d87 @tuncer Add reltool based release support
tuncer authored
27 {excl_archive_filters, [".*"]}, %% Do not archive built libs
51c5e03 @tuncer Simplify excl_sys_filters
tuncer authored
28 {excl_sys_filters, ["^bin/.*", "^erts.*/bin/(dialyzer|typer)",
29 "^erts.*/(doc|info|include|lib|man|src)"]},
b6b9d87 @tuncer Add reltool based release support
tuncer authored
30 {excl_app_filters, ["\.gitignore", "^include.mk.in"]},
39aae44 @tuncer Sync with upstream rebar node template
tuncer authored
31 {app, yaws, [{mod_cond, app}, {incl_cond, include}, {lib_dir, ".."}]}
b6b9d87 @tuncer Add reltool based release support
tuncer authored
32 ]}.
33
34 {target_dir, "yaws"}.
35
36 {overlay, [
37 {mkdir, "log/sasl"},
38 {copy, "files/erl", "\{\{erts_vsn\}\}/bin/erl"},
39 {copy, "files/nodetool", "\{\{erts_vsn\}\}/bin/nodetool"},
40 {copy, "files/yaws", "bin/yaws"},
39aae44 @tuncer Sync with upstream rebar node template
tuncer authored
41 {copy, "files/install_upgrade.escript", "bin/install_upgrade.escript"},
b6b9d87 @tuncer Add reltool based release support
tuncer authored
42 {copy, "files/sys.config", "releases/\{\{rel_vsn\}\}/sys.config"},
43 {copy, "files/vm.args", "releases/\{\{rel_vsn\}\}/vm.args"}
44 ]}.
Something went wrong with that request. Please try again.