%-*-Mode:erlang;coding:utf-8;tab-width:4;c-basic-offset:4;indent-tabs-mode:()-*-
% ex: set ft=erlang fenc=utf-8 sts=4 ts=4 sw=4 et nomod:

{sys,
 [
  {rel, "Elixir.HelloWorld", "1",
   [
    'Elixir.HelloWorld'
    ]},
  {boot_rel, "Elixir.HelloWorld"},

  {app, 'Elixir.HelloWorld',
   [{incl_cond, include}, {mod_cond, all}, {app_file, keep},
    {lib_dir, "_build/dev/lib/Elixir.HelloWorld/"}]},
  % Elixir dependencies
  {app, elixir,
   [{incl_cond, derived}, {mod_cond, all}, {app_file, keep},
    {lib_dir, "/usr/local/lib/elixir/lib/elixir/"}]},
  % typical defaults
  {profile, embedded},
  {incl_cond, derived},
  {mod_cond, all},
  {app_file, keep},
  {excl_sys_filters, ["^bin/.*",
                      "^erts.*/bin/(dialyzer|typer)",
                      "^erts.*/(doc|info|include|lib|man|src)"]},

  % keep beam files exposed for module loading of internal services
  {excl_archive_filters, [".*"]},

  % Erlang dependencies
  {erts,
   [{incl_cond, derived}, {mod_cond, all}, {app_file, keep}]},
  {app, hipe,
   [{incl_cond, exclude}]},
  % sometimes services need the debug_info within OTP applications
  {debug_info, keep}
  ]}.

{target_dir, "release"}.

{overlay, []}.
