forked from billosys/kanin
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrebar.config
70 lines (66 loc) · 2.32 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
{deps, [
{kla, {git, "https://github.com/lfex/kla.git", {tag, "0.8.0-rc4"}}},
{amqp_client, {git, "https://github.com/lfe-support/rabbitmq-erlang-client.git",
{branch, "master"}}}
]}.
{plugins, [
{'lfe-compile', {git, "https://github.com/lfe-rebar3/compile.git", {tag, "0.8.0-rc3"}}}
]}.
{provider_hooks, [
{pre, [{compile, {lfe, compile}}]}
]}.
{pre_hooks, [
{compile, "make amqp-client"}
]}.
{profiles, [
%% As an alternative to the default Github repos, you can use the Gitlab
%% mirror with the following:
%% $ rebar3 as gitlab compile
{gitlab, [
{deps, [
{lfe, {git, "https://gitlab.com/lfe/lfe.git", {tag, "v1.2.0"}}},
{lutil, {git, "https://gitlab.com/lfex/lutil.git", {tag, "0.10.0-rc6"}}},
{kla, {git, "https://gitlab.com/lfex/kla.git", {tag, "0.8.0-rc4"}}}
]},
{plugins, [
{'lfe-compile', {git, "https://gitlab.com/lfe-rebar3/compile.git", {tag, "0.8.0-rc2"}}}]}
]},
%% Or use Hex.pm instead with:
%% $ rebar3 as hexpm compile
{hexpm, [
{deps, [{lfe, "1.2.0"},
{kla, "0.8.0-rc4"}]},
{plugins, [{rebar3_lfe_compile, "0.8.0-rc2"}]}
]},
{dev, [
{deps, [
{lfe, {git, "https://github.com/rvirding/lfe.git", {branch, "develop"}}},
{ltest, {git, "https://github.com/lfex/ltest.git", {tag, "0.10.0-rc6"}}},
{kla, {git, "https://gitlab.com/lfex/kla.git", {tag, "0.8.0-rc4"}}}
]},
{plugins, [
{'lfe-version', {git, "https://github.com/lfe-rebar3/version.git", {tag, "0.5.0-rc2"}}},
{'lfe-clean', {git, "https://github.com/lfe-rebar3/clean.git", {tag, "0.4.0-rc1"}}}
]}
]},
{test, [
{deps, [
{ltest, {git, "https://github.com/lfex/ltest.git", {tag, "0.10.0-rc6"}}},
{'lfe-version', {git, "https://github.com/lfe-rebar3/version.git", {tag, "0.5.0-rc2"}}}]},
{plugins, [
{'lfe-test', {git, "https://github.com/lfe-rebar3/test.git", {tag, "0.4.0-rc4"}}}]},
{eunit_opts, [verbose]},
{erl_opts, [{src_dirs, ["src", "test"]}]}
]},
{docs, [
{plugins, [
{lodox, {git, "https://github.com/lfe-rebar3/lodox.git", {tag, "0.12.10"}}}
]},
{lodox,
[{apps,
[{kanin,
[{'source-uri',
"https://github.com/lfex/kanin/blob/{version}/{filepath}#L{line}"},
{'output-path', "docs/master/current/api"}]}]}]}
]}
]}.