-
Notifications
You must be signed in to change notification settings - Fork 17
/
rebar.config
34 lines (23 loc) · 980 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
32
33
34
% this will allow us to load the Erlson rebar plugin during this build (e.g. for
% running EUnit)
{lib_dirs, [".."]}.
{plugins, [erlson_rebar_plugin]}. % newest rebar
{rebar_plugins, [erlson_rebar_plugin]}. % older rebar
% version of the extended Erlang parser that generates Erlson at parse time
{sub_dirs, ["erlson_erlc", "erlson_shell"]}.
{post_hooks, [
{compile, "cp erlson_erlc/ebin/erl_parse.beam ebin/erl_parse_erlc.beam"},
{compile, "cp erlson_shell/ebin/erl_parse.beam ebin/erl_parse_shell.beam"}
]}.
{erl_opts, [fail_on_warning, debug_info]}.
% setting cover_enabled to false. Otherwise, the following error will be
% generated:
% % Can't load module that resides in sticky dir
% ERROR: Cover failed to compile any modules; aborting.
{cover_enabled, false}.
%{deps,
% [
% % we need Mochiweb for mochijson2
% {mochiweb, "", {git, "https://github.com/mochi/mochiweb.git", {branch, "master"}}}
% ]}.
% vim:ft=erlang