-
Notifications
You must be signed in to change notification settings - Fork 2
/
rebar.config
50 lines (44 loc) · 1.28 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
%% -*- mode: erlang; flycheck-mode: nil -*-
{erl_opts,
[debug_info]}.
%% HACK
{overrides,
[{add, elli_cache, [{erl_opts, [{i, "_build/test/lib"}]}]}]}.
{deps,
[%% {elli_cache, "1.0.1"}
{elli_cache,
{git, "git://github.com/elli-lib/elli_cache.git",
{branch, "develop"}}}
]}.
{profiles,
[{test,
[{deps,
[{elli, "3.0.0"}]},
{dialyzer,
[{plt_extra_apps, [elli]}]}
]},
{docs,
[{erl_opts, [{i, ["_build/test/lib"]}]},
{deps, [{edown, "0.8.1"}]},
{edoc_opts,
[
{dir, "doc"},
{doclet, edown_doclet},
{overview, "doc/overview.md"},
{doc_path,
["http://raw.github.com/elli-lib/elli/develop/doc",
"http://raw.github.com/elli-lib/elli_cache/develop/doc"
"http://raw.github.com/elli-lib/elli_static/develop/doc"
]},
{top_level_readme,
{"./README.md", "https://github.com/elli-lib/elli_static", "develop"}}
]}]}]}.
{post_hooks,
%% NOTE: Assumes GNU sed on darwin
[{"(darwin|linux|solaris|freebsd|netbsd|openbsd)", edoc,
"sed -i 's/raw.\\(github.com\\/elli-lib\\/elli\\)/\\1\\/blob/g' doc/*.md"}]}.
{project_plugins, [{coveralls, "1.4.0"}]}.
{cover_enabled, true}.
{cover_export_enabled, true}.
{coveralls_coverdata, "_build/test/cover/eunit.coverdata"}.
{coveralls_service_name, "travis-ci"}.