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.

39 lines
1.2 KiB

  1. {sys, [
  2. {lib_dirs, []},
  3. {rel, "{{nodeid}}", "1",
  4. [
  5. kernel,
  6. stdlib,
  7. sasl
  8. ]},
  9. {rel, "start_clean", "",
  10. [
  11. kernel,
  12. stdlib
  13. ]},
  14. {boot_rel, "{{nodeid}}"},
  15. {profile, embedded},
  16. {excl_archive_filters, [".*"]}, %% Do not archive built libs
  17. {excl_sys_filters, ["^bin/.*",
  18. "^erts.*/bin/(dialyzer|typer)"]},
  19. %% Including HiPE can cause issues generating your first upgrade.
  20. %% If you plan to distribute HiPE in your release remove the
  21. %% following line.
  22. {app, hipe, [{incl_cond, exclude}]},
  23. {app, sasl, [{incl_cond, include}]}
  24. ]}.
  25. {target_dir, "{{nodeid}}"}.
  26. {overlay, [
  27. {mkdir, "log/sasl"},
  28. {copy, "files/erl", "\{\{erts_vsn\}\}/bin/erl"},
  29. {copy, "files/nodetool", "\{\{erts_vsn\}\}/bin/nodetool"},
  30. {copy, "files/{{nodeid}}", "bin/{{nodeid}}"},
  31. {copy, "files/sys.config", "releases/\{\{rel_vsn\}\}/sys.config"},
  32. {copy, "files/{{nodeid}}.cmd", "bin/{{nodeid}}.cmd"},
  33. {copy, "files/start_erl.cmd", "bin/start_erl.cmd"},
  34. {copy, "files/vm.args", "releases/\{\{rel_vsn\}\}/vm.args"}
  35. ]}.