-
Notifications
You must be signed in to change notification settings - Fork 60
/
rebar.config
37 lines (32 loc) · 1.39 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
%% Top-level rebar.config drives the build of all of our applications and
%% dependencies. This configuration file is applied to all applications that we
%% compile.
%%
%% Rebar3 will, by default, compile all applications in
%% ["apps/*","lib/*","."], this configuration parameter is known as
%% project_app_dirs.
{deps, [
{chronicle, {git, "https://github.com/couchbase/chronicle.git", {branch, "master"}}},
{enacl, {git, "https://github.com/couchbasedeps/enacl.git", {branch, "couchbase-master"}}},
{esaml, {git, "https://github.com/couchbasedeps/esaml.git", {branch, "couchbase-master"}}},
{gen_smtp, {git, "https://github.com/couchbasedeps/gen_smtp.git", {branch, "couchbase-master"}}},
{iso8601, "~> 1.3.3"}
]}.
{erl_opts, [{src_dirs, ["src"]}, debug_info, warnings_as_errors,
{feature, maybe_expr, enable}]}.
{profiles, [
{test, [
{deps, [
{meck, "0.9.2"},
{triq, "1.3.0"}
]},
{erl_opts, [{extra_src_dirs, ["test"]}]}
]}]}.
%% Rebar does not detect that it needs to rebuild escripts, so we need to tell
%% it to do so via artifacts declarations. Paths are relative to where you're
%% building though, and the build directory of an escript is always relative to
%% the top level directory. This means that we need to override the path to
%% something relative to us...
{overrides, [
{override, chronicle, [{artifacts, ["../../bin/chronicle_dump"]}]}
]}.