-
Notifications
You must be signed in to change notification settings - Fork 2
/
rebar.config
53 lines (46 loc) · 1.41 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
%% -*- mode: erlang; flycheck-mode: nil -*-
{erl_opts, [debug_info]}.
{deps, [{erlando, "3.1.1"}]}.
{project_plugins,
[{coveralls, "1.4.0"},
{rebar3_lint, "0.1.9"}]}.
{xref_checks,
[undefined_function_calls, undefined_functions, locals_not_used,
deprecated_function_calls, deprecated_functions]}.
{profiles,
[{test,
[{deps,
[{elli, "3.1.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"
]},
{top_level_readme,
{"./README.md", "https://github.com/elli-lib/elli_cache", "develop"}}
]}]}]}.
{post_hooks,
%% NOTE: Assumes GNU sed on darwin
[{"(darwin|linux|solaris|freebsd|netbsd|openbsd)", edoc,
"sed -i '"
"s/https\\?:\\/\\/raw\\.\\(github.com\\/elli-lib\\/elli\\)/https:\\/\\/\\1\\/blob/g"
"' doc*/*.md"}]}.
{provider_hooks, [{pre, [{eunit, lint}]}]}.
{cover_enabled, true}.
{cover_export_enabled, true}.
{cover_excl_mods, []}.
{coveralls_coverdata, "_build/test/cover/eunit.coverdata"}.
{coveralls_service_name, "travis-ci"}.
{dialyzer,
%% TODO: underspecs, specdiffs
[{warnings, [no_contracts, unmatched_returns, error_handling]}]}.