-
Notifications
You must be signed in to change notification settings - Fork 1
/
rebar.config
37 lines (34 loc) · 1.17 KB
/
rebar.config
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
{erl_opts, [debug_info]}.
{deps,[
{lager, "3.6.10"},
{jsx, "2.8.0"},
{recon, "2.3.6"},
{eredis, {git, "https://github.com/wooga/eredis.git", {tag, "v1.2.0"}}},
{erlydtl, {git, "https://github.com/erlydtl/erlydtl", {tag, "0.12.1"}}},
{jsone, { git, "[email protected]:sile/jsone.git", {branch, "master"}}},
{cowboy, { git, "https://github.com/ninenines/cowboy.git", { tag, "2.6.0" } } },
{eredis, { git, "https://github.com/wooga/eredis.git", { tag, "v1.2.0" } } },
{gproc, {git, "git://github.com/uwiger/gproc.git", {tag, "0.8.0"}}}
]}.
{relx, [
{release, {pure_ps, "1"}, [pure_ps],
[
{sys_config, "release-files/sys.config"},
{overlay, [
{mkdir, "log"},
{mkdir, "init"},
{mkdir, "bin"}
]}]},
{include_src, false},
{extended_start_script, true}
]
}.
{shell, [
{config, [{config, "release-files/sys.config"}]},
{apps, [pure_ps]}
]}.
{pre_hooks,
[
{"(linux|darwin|solaris|win32)", compile, "bash -c 'make'"},
{"(linux|darwin|solaris|win32)", clean, "make clean"}
]}.