forked from basho/basho_bench
-
Notifications
You must be signed in to change notification settings - Fork 2
/
rebar.config
31 lines (26 loc) · 1.32 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
{require_otp_vsn, "17|18|19|20|21|22"}.
{deps,
[
%% Workaround to enable R18
%% {folsom, ".*", {git, "https://github.com/cloudant/couchdb-folsom.git", "fbb7bc83806520ffef84107c85f53c1f7113c20d"}},
%% Master has dependence on on meck 0.8.2 (only used in folsom testing) which fails under R18
%% Branch uses {meck, ".*", {git, "https://github.com/eproxus/meck.git", {tag, "0.8.4"}}}
{folsom, ".*", {git, "https://github.com/apache/couchdb-folsom.git", {tag, "CouchDB-0.8.3"}}},
{getopt, ".*", {git, "https://github.com/jcomellas/getopt", {tag, "v0.8.2"}}},
{lager, ".*", {git, "https://github.com/erlang-lager/lager.git", {tag, "3.6.8"}}},
{ibrowse, ".*", {git, "https://github.com/apache/couchdb-ibrowse.git", "4af2d408607874d124414ac45df1edbe3961d1cd"}},
{goldrush, ".*", {git, "https://git-wip-us.apache.org/repos/asf/couchdb-goldrush.git", {tag, "0.1.6"}}}
]}.
{erl_opts, [{src_dirs, [src]}, {parse_transform, lager_transform}]}.
{escript_incl_apps, [
bear,
folsom,
getopt,
goldrush,
ibrowse,
lager
]}.
%% The value of +Q here is for 1.2 million ports, but the process
%% won't be able to open that many ports without also adjusting the
%% OS process's file descriptor limit, e.g., using "ulimit -n".
{escript_emu_args, "%%! +K true -rsh ssh -noshell -noinput +P 1222333 +Q 1222333 +zdbbl 32768\n"}.