-
Notifications
You must be signed in to change notification settings - Fork 0
/
rebar.config
42 lines (32 loc) · 928 Bytes
/
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
%% rebar plugins
{plugins, [rebar3_hex, rebar3_elixir]}.
%% behaviours should be compiled before other files
{erl_first_files, [
]}.
{erl_opts, [
fail_on_warning,
debug_info
]}.
%% eunit opts - Maven-like output formatting
{eunit_opts, [
verbose,
{report, {eunit_surefire, [{dir, "./test/eunit_results"}]}}
]}.
%% Test coverage
{cover_enabled, true}.
%% deps directory
{lib_dirs, ["deps"]}.
{deps, [
{cowboy, {git, "git://github.com/ninenines/cowboy.git", {tag, "2.2.2"}}},
{ctool, {git, "ssh://[email protected]:7999/vfs/ctool.git", {ref, "891abfdb43"}}}
]}.
%% pre-hooks
{pre_hooks, [
{eunit, "mkdir -p test/eunit_results"}, %% Make dir for eunit' surefire test results
{eunit, "epmd -daemon"} %% Sometimes, in some cases epmd daemon doesn't start during eunit tests, so we need to force start it
]}.
%% post-hooks
{post_hooks, [
]}.
%% Cleanup
{clean_files, ["test/eunit_results"]}.