-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrebar.config
31 lines (26 loc) · 965 Bytes
/
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
{erl_opts, [debug_info, {i, "include"}, {i, "_build/default/lib/gpb/include"}]}.
{pre_hooks,
[{compile, "mkdir -p include"}, %% ensure the include dir exists
{compile,
"bash -c '"
"erl +B -noinput -pa $(pwd)/_build/default/lib/gpb/ebin "
" -I $(pwd)/proto -o-erl src -o-hrl include "
" -s gpb_compile c $(pwd)/proto/ql2.proto'"}]}.
{post_hooks,
[{clean,
"bash -c '"
" rm -f src/ql2.erl"
" rm -f include/ql2.hrl'"}]}.
{provider_hooks, [{pre, [{compile, {lfe, compile}}]}]}.
{deps,
[{gpb, ".*",
{git, "[email protected]:tomas-abrahamsson/gpb.git", {branch, "master"}}},
{lfe, ".*",
{git, "[email protected]:rvirding/lfe.git", {tag, "v0.10.0"}}},
{ljson, ".*",
{git, "[email protected]:lfex/ljson.git", {branch, "master"}}}]}.
{plugins,
[{'lfe-compile', ".*",
{git, "git://github.com/lfe-rebar3/compile.git", {tag, "0.2.0"}}},
{'lodox', ".*",
{git, "git://github.com/quasiquoting/lodox.git", {branch, "master"}}}]}.