-
Notifications
You must be signed in to change notification settings - Fork 0
/
rebar.config
42 lines (33 loc) · 1.33 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
38
39
40
41
42
%% {erl_opts, [native, {hipe, [verbose]}, debug_info]}.
%% {erl_opts, [no_debug_info]}.
{erl_opts, [debug_info]}.
%% {ok, {_, [{abstract_code, {_, Ac}}]}} = beam_lib:chunks(code:which(a), [abstract_code]).
%% io:fwrite("~s~n", [erl_prettypr:format(erl_syntax:form_list(Ac))]).
%% vim ~/.erlang.crypt
%% [{debug_info, des3_cbc, [], "12345"}].
%% ~/.erlang.crypt not needed on compiling, only neened on debugging
%% {erl_opts, [debug_info,{debug_info_key,{des3_cbc,"12345"}}]}.
%% ~/.erlang.crypt needed on compiling
%% {erl_opts, [encrypt_debug_info]}.
{deps, [
{sync, ".*", {git, "https://github.com/rustyio/sync", {branch, "master"}}},
{worker_pool, ".*", {git, "https://github.com/inaka/worker_pool.git", {tag, "2.0.0"}}},
{eredis, ".*", {git, "https://github.com/wooga/eredis/", {tag, "v1.0.8"}}}
%% {cowboy, ".*",{git, "https://github.com/ninenines/cowboy.git", {branch, "master"}}},
%% {cowboy, "1.0.4",{git, "https://github.com/ninenines/cowboy.git", {tag, "1.0.4"}}}
]}.
{pre_hooks, [
{clean, "rm -rf ./_build/test"}
]}.
{provider_hooks, [{pre, [{clean}]}]}.
{shell, [{script_file, "escripts/on_app_start.erl"}]}.
{cover_enabled, true}.
{eunit_opts, [
verbose, {
report,{
eunit_surefire,[
{dir,"./_build/test"}
]
}
}
]}.