1. Stewart Mackenzie
  2. earlybrew

Source

earlybrew / rel / reltool.config


%% -*- tab-width: 4;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ts=4 sw=4 et
{sys, [
       {lib_dirs, ["../apps","../deps"]},
       {rel, "earlybrew", "0.0.1",
        [
         kernel,
         stdlib,
         sasl,
         os_mon,
         appmon,
         debugger,
         crypto,
         runtime_tools,
         mochiweb,
         webmachine,
         coffeemachine
        ]},
       {rel, "start_clean", "",
        [
         kernel,
         stdlib
        ]},
       {boot_rel, "earlybrew"},
       {profile, embedded},
       {excl_sys_filters, ["^bin/.*",
                           "^erts.*/bin/(dialyzer|typer)"]},
       {excl_archive_filters, [".*"]},
       {app, webmachine, [{incl_cond, include}]},
       {app, coffeemachine, [{incl_cond, include}]},
       {app, sasl, [{incl_cond, include}]}
      ]}.


{target_dir, "earlybrew"}.

{overlay_vars, "vars.config"}.

{overlay, [
          {mkdir, "log/sasl"},
          {copy, "files/erl", "{{erts_vsn}}/bin/erl"},
          {copy, "files/nodetool", "{{erts_vsn}}/bin/nodetool"},
          {template, "files/app.config", "etc/app.config"},
          {template, "files/vm.args", "etc/vm.args"},
          {template, "files/earlybrew", "bin/earlybrew"},
          {template, "files/earlybrew-admin", "bin/earlybrew-admin"}
          ]}.