-
Notifications
You must be signed in to change notification settings - Fork 1
/
rebar.config
83 lines (69 loc) · 2.43 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
{erl_opts, [
debug_info,
%% Erlang releases after 17 don't put R in front of their name, and
%% also require dict() to be written like dict:dict()
{platform_define, "^[0-9]+", namespaced_dicts},
{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},
{top_level_readme,
{"./README.md", "http://github.com/SilentCircle/sc_push"}}
]}.
{clean_files, ["test/*.beam"]}.
{ct_opts, [{spec, "sc_push.test.spec"}]}.
{dialyzer,
[
{warnings, [unknown]},
{plt_extra_apps, [uuid, epgsql]}
]}.
{cover_opts, [verbose, {level, details}]}.
{cover_enabled, true}.
{deps, [
{sc_push_lib, ".*",
{git, "https://github.com/SilentCircle/sc_push_lib.git", {branch, "master"}}},
{sc_util, ".*",
{git, "https://github.com/SilentCircle/sc_util.git", {branch, "master"}}},
{uuid, ".*",
{git, "https://github.com/okeuday/uuid.git", {branch, "master"}}},
{webmachine, ".*",
{git, "https://github.com/SilentCircle/webmachine.git", {branch, "master"}}},
{jsx, ".*",
{git, "https://github.com/talentdeficit/jsx.git", {branch, "master"}}},
{lager, ".*",
{git, "https://github.com/basho/lager.git", {branch, "master"}}},
{edown, ".*",
{git, "https://github.com/uwiger/edown.git", {branch, "master"}}}
]
}.
{profiles,
[
{test, [
{deps,[
{mustache, ".*",
{git, "https://github.com/mojombo/mustache.erl.git", {branch, "master"}}},
{meck, ".*",
{git, "https://github.com/eproxus/meck.git", {branch, "master"}}}
]
},
{erl_opts, [
debug_info,
export_all,
{i, ["include"]},
{parse_transform, lager_transform}
]}
]
}]
}.
%% == xref ==
{xref_warnings, false}.
%% xref checks to run
{xref_checks, [undefined_function_calls]}.