-
Notifications
You must be signed in to change notification settings - Fork 2
/
rebar.config
84 lines (69 loc) · 2.6 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ts=4 sw=4 ft=erlang et
{minimum_otp_version, "18.3"}.
{erl_opts, [
%% Erlang releases after 17 don't put R in front of their name, and
%% also require queue() to be written like queue:queue()
{platform_define, "^[0-9]+", namespaced_queues},
debug_info,
export_all,
{src_dirs, ["src"]},
{parse_transform, lager_transform}
]}.
{eunit_opts, [verbose,
{report, {eunit_surefire, [{dir, "."}]}}]}.
{edoc_opts, [{doclet, edown_doclet},
{source_path, ["src"]},
{stylesheet, ""},
{image, ""},
{app_default, "http://www.erlang.org/doc/man"},
{edown_target, github}, % see rebar.config.script
{top_level_readme, % see rebar.config.script
{"./README.md", "http://github.com/SilentCircle/apns_erlv3"}}
]}.
{clean_files, ["test/*.beam"]}.
%% See rebar.config.script for dynamic prehooks and ct options.
%% Define CT_OVERRIDE to skip any ct dynamic configuration.
{pre_hooks, []}.
{dialyzer, [{warning, [unknown,
unmatched_returns,
error_handling,
race_conditions]}]}.
{deps, [
{uuid, ".*",
{git, "https://github.com/okeuday/uuid.git", {branch, "master"}}},
{chatterbox, ".*",
{git, "https://github.com/SilentCircle/chatterbox.git", {branch, "silentcircle/master"}}},
{lager, ".*",
{git, "https://github.com/basho/lager.git", {branch, "master"}}},
{jsx, ".*",
{git, "https://github.com/talentdeficit/jsx.git", {branch, "master"}}},
{sc_util, ".*",
{git, "https://github.com/SilentCircle/sc_util.git", {branch, "master"}}},
{sc_push_lib, ".*",
{git, "https://github.com/SilentCircle/sc_push_lib.git", {branch, "master"}}},
{apns_erl_util, ".*",
{git, "https://github.com/SilentCircle/apns_erl_util.git", {branch, "master"}}}
]
}.
{profiles,
[
{test, [
{erl_opts, [
debug_info,
export_all,
{i, ["include"]},
{parse_transform, lager_transform}
]},
{deps,
[
{apns_erl_sim, ".*", % This is only used by ct (CommonTest) and not included in the app
{git, "https://github.com/SilentCircle/apns_erl_sim.git", {branch, "master"}}}
]}
]
}]
}.
%% == xref ==
{xref_warnings, false}.
%% xref checks to run
{xref_checks, [undefined_function_calls]}.