forked from ErlyORM/boss_db
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rebar.config
63 lines (56 loc) · 2.68 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
%%-*-Erlang-*-
%% vim: ts=8 sw=8 ft=erlang
{erl_opts, [
debug_info,
tuple_calls,
warnings_as_errors,
warn_unused_vars,
warn_unused_import,
warn_exported_vars,
{parse_transform, cut},
{parse_transform, do},
{parse_transform, import_as}
]}.
{deps, [
{erlando, {git, "https://github.com/burbas/erlando.git", {branch, "master"}}},
{aleppo, {git, "https://github.com/burbas/aleppo.git", {branch, "master"}}},
{dh_date, {git, "https://github.com/daleharvey/dh_date.git", {branch, "master"}}},
{tiny_pq, {git, "https://github.com/ChicagoBoss/tiny_pq.git", {tag, "v0.9.0"}}},
{poolboy, {git, "https://github.com/devinus/poolboy.git", {tag, "1.5.2"}}},
{uuid, {git, "https://github.com/avtobiff/erlang-uuid.git", {branch, "master"}}},
%% Database interfaces
{ddb, {git, "https://github.com/ErlyORM/ddb.git", {tag, "v0.1.7"}}},
{epgsql, {git, "https://github.com/epgsql/epgsql.git", {tag, "4.2.0"}}},
{erlmc, {git, "https://github.com/ErlyORM/erlmc.git", {ref, "c5280da"}}},
{mysql, ".*", {git, "https://github.com/mysql-otp/mysql-otp", {tag, "1.8.0"}}},
{redo, {git, "https://github.com/heroku/redo.git", {ref, "cd75a11"}}},
{ets_cache, {git, "https://github.com/cuongth/ets_cache.git", {ref, "c7a17204cd"}}}
]}.
%% == Dialyzer ==
{dialyzer, [
{warnings, [error_handling, unmatched_returns, underspecs]},
{get_warnings, false},
{plt_apps, top_level_deps}, % top_level_deps | all_deps
{plt_extra_apps, []},
{plt_location, local}, % local | "/my/file/name"
{plt_prefix, "boss_db"},
{base_plt_apps, [stdlib, kernel, erts]},
{base_plt_location, global}, % global | "/my/file/name"
{base_plt_prefix, "rebar3"}
]}.
{cover_enabled, true}.
{plugins, []}.
{profiles,
[{test, [
{deps, [
{proper, {git, "https://github.com/manopapad/proper.git", {ref, "v1.3"}}},
{boss_test, {git, "https://github.com/ChicagoBoss/boss_test.git", {tag, "0.0.1"}}}
]}
]},
{boss_test, [
{erl_opts, [{d, boss_test}]}
]},
{prod, [
{erl_opts, [warnings_as_errors]}
]}
]}.