summaryrefslogtreecommitdiff
path: root/rebar.config
blob: dd10d2c33f17437c963cce9aecaa4039949d8d65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
%%-*- mode: erlang -*-
{deps, [
  {webmachine, {git, "https://github.com/webmachine/webmachine", {branch, "master"}}}
]}.

{relx, [{release, {'ldapsp', "0.0.1"},
         [ldapsp,
          eldap,
          sasl]},

        {sys_config, "./config/sys.config"},
        {vm_args, "./config/vm.args"},

        {dev_mode, true},
        {include_erts, false},
        {include_src, false},

        {extended_start_script, true}]
}.

{pre_hooks, [{release, "rm -rf priv/log"}]}.

{eunit_tests, [{dir, "priv"}, {dir, "src"}]}.

{profiles, [
    {dev, [
        {deps, [
            {sync, ".*", {git, "git://github.com/rustyio/sync.git", {branch, "master"}}}
        ]}
    ]},
    {prod, [
        {relx, [
            {dev_mode, false},
            {include_erts, true}
        ]}
    ]}
]}.