Skip to content

Instantly share code, notes, and snippets.

@nisbus
Created June 20, 2013 10:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nisbus/5821724 to your computer and use it in GitHub Desktop.
Save nisbus/5821724 to your computer and use it in GitHub Desktop.
%%% -*- mode: erlang -*-
{sys, [
{lib_dirs, ["../..",
"../deps"]},
{rel, "bonds_service", "0.0.1",
[
kernel,
inets,
stdlib,
sasl,
crypto,
public_key,
ssl,
bondscalc,
jsx,
webmachine,
lager,
bonds_service
]},
{rel, "start_clean", "",
[
kernel,
inets,
stdlib
]},
{boot_rel, "bonds_service"},
{profile, embedded},
{excl_sys_filters, ["^bin/.*",
"^erts.*/bin/(dialyzer|typer)"]},
{excl_archive_filters, [".*"]},
{app, sasl, [{incl_cond, include}]},
{app, bonds_service, [{incl_cond, include}]},
{app, public_key, [{incl_cond, include}]},
{app, ssl, [{incl_cond, include}]},
{app, crypto, [{incl_cond, include}]},
{app, jsx, [{incl_cond, include}]},
{app, webmachine, [{incl_cond, include}]},
{app, lager, [{incl_cond, include}]}
]}.
{target_dir, "bonds_service"}.
{overlay_vars, "vars.config"}.
{overlay, [
{mkdir, "log/sasl"},
{copy, "files/erl", "{{erts_vsn}}/bin/erl"},
{copy, "files/nodetool", "{{erts_vsn}}/bin/nodetool"},
{template, "files/spec.spec", "../spec.spec"},
{template, "files/app.config", "etc/app.config"},
{template, "files/vm.args", "etc/vm.args"},
{template, "files/bonds_service", "bin/bonds_service"}
]}.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment