Skip to content
Newer
Older
100644 54 lines (51 sloc) 1.77 KB
b6b9d87 @tuncer Add reltool based release support
tuncer authored Dec 19, 2011
1 {sys, [
2 {lib_dirs, ["../fake_lib_dir"]},
3 {erts, [{mod_cond, derived}, {app_file, strip}]},
4 {app_file, strip},
5 {rel, "yaws", "1",
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},
25 {incl_cond, exclude},
26 {excl_archive_filters, [".*"]}, %% Do not archive built libs
27 {excl_sys_filters, ["^bin/.*", "^erts.*/doc", "^erts.*/src",
28 "^erts.*/info", "^erts.*/man",
29 "^erts.*/lib", "^erts.*/include",
30 "^erts.*/bin/(dialyzer|typer)"]},
31 {excl_app_filters, ["\.gitignore", "^include.mk.in"]},
32 {app, sasl, [{incl_cond, include}]},
33 {app, stdlib, [{incl_cond, include}]},
34 {app, kernel, [{incl_cond, include}]},
35 {app, crypto, [{incl_cond, include}]},
36 {app, ssl, [{incl_cond, include}]},
37 {app, public_key, [{incl_cond, include}]},
38 {app, compiler, [{incl_cond, include}]},
39 {app, mnesia, [{incl_cond, include}]},
40 {app, xmerl, [{incl_cond, include}]},
41 {app, yaws, [{incl_cond, include}]}
42 ]}.
43
44 {target_dir, "yaws"}.
45
46 {overlay, [
47 {mkdir, "log/sasl"},
48 {copy, "files/erl", "\{\{erts_vsn\}\}/bin/erl"},
49 {copy, "files/nodetool", "\{\{erts_vsn\}\}/bin/nodetool"},
50 {copy, "files/yaws", "bin/yaws"},
51 {copy, "files/sys.config", "releases/\{\{rel_vsn\}\}/sys.config"},
52 {copy, "files/vm.args", "releases/\{\{rel_vsn\}\}/vm.args"}
53 ]}.
Something went wrong with that request. Please try again.