-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrebar.config
43 lines (37 loc) · 1.07 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
%% -*- erlang -*-
%% See: http://erlang.org/doc/man/compile.html for documentation of these opts
{erl_opts,
[ debug_info
, bin_opt_info
, warn_unused_import
, {platform_define, "^[0-9]+", namespaced_types}
]}.
{deps, [ {color, {git, "https://github.com/julianduque/erlang-color.git", {branch, "master"}}}
, {parse_trans, {git, "https://github.com/uwiger/parse_trans.git", {branch, "master"}}}
]}.
{xref_checks,
[ deprecated_function_calls
, undefined_function_calls
]}.
{profiles,
[ {elvis,
[ {deps,
[ {elvis, {git, "https://github.com/inaka/elvis.git", {tag, "1.0.1"}}}
]}
]}
]
}.
{dialyzer,
[ {plt_apps, all_deps}
, {warnings, [ unknown
]}
]}.
{plugins, [
{ rebar3_rust, ".*", {git, "https://github.com/goertzenator/rebar3_rust", {branch, "master"}}}
]}.
{pre_hooks,
[{"(linux|darwin|solaris)", compile, "make -C rust_nif_src"},
{"(freebsd)", compile, "gmake -C rust_nif_src"}]}.
{post_hooks,
[{"(linux|darwin|solaris)", clean, "make -C rust_nif_src clean"},
{"(freebsd)", clean, "gmake -C rust_nif_src clean"}]}.