You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 rivejä
1.5 KiB

  1. {sys, [
  2. {lib_dirs, []},
  3. {erts, [{mod_cond, derived}, {app_file, strip}]},
  4. {app_file, strip},
  5. {rel, "{{nodeid}}", "1",
  6. [
  7. kernel,
  8. stdlib,
  9. sasl,
  10. {{nodeid}}
  11. ]},
  12. {rel, "start_clean", "",
  13. [
  14. kernel,
  15. stdlib
  16. ]},
  17. {boot_rel, "{{nodeid}}"},
  18. {profile, embedded},
  19. {incl_cond, exclude},
  20. {excl_archive_filters, [".*"]}, %% Do not archive built libs
  21. {excl_sys_filters, ["^bin/.*", "^erts.*/doc", "^erts.*/src",
  22. "^erts.*/info", "^erts.*/man",
  23. "^erts.*/lib", "^erts.*/include",
  24. "^erts.*/bin/(dialyzer|typer)"]},
  25. {excl_app_filters, ["\.gitignore"]},
  26. {app, sasl, [{incl_cond, include}]},
  27. {app, stdlib, [{incl_cond, include}]},
  28. {app, kernel, [{incl_cond, include}]},
  29. {app, {{nodeid}}, [{incl_cond, include}]}
  30. ]}.
  31. {target_dir, "{{nodeid}}"}.
  32. {overlay, [
  33. {mkdir, "log/sasl"},
  34. {copy, "files/erl", "\{\{erts_vsn\}\}/bin/erl"},
  35. {copy, "files/nodetool", "\{\{erts_vsn\}\}/bin/nodetool"},
  36. {copy, "files/{{nodeid}}", "bin/{{nodeid}}"},
  37. {copy, "files/sys.config", "releases/\{\{rel_vsn\}\}/sys.config"},
  38. {copy, "files/{{nodeid}}.cmd", "bin/{{nodeid}}.cmd"},
  39. {copy, "files/start_erl.cmd", "bin/start_erl.cmd"},
  40. {copy, "files/vm.args", "releases/\{\{rel_vsn\}\}/vm.args"}
  41. ]}.