forked from mmzeeman/eiconv
-
Notifications
You must be signed in to change notification settings - Fork 21
/
rebar.config
59 lines (50 loc) · 1.21 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
{plugins, [pc]}.
{provider_hooks, [
{pre, [
{compile, {pc, compile}},
{clean, {pc, clean}}
]}
]}.
{port_env, [
{"darwin|freebsd|openbsd", "LDFLAGS", "$LDFLAGS -liconv"},
{"freebsd|openbsd", "CFLAGS", "$CFLAGS -I/usr/local/include"},
{"freebsd|openbsd", "LDFLAGS", "$LDFLAGS -L/usr/local/lib"}
]}.
{port_specs, [{"priv/eiconv_nif.so", ["c_src/*.c"]}]}.
{profiles, [
{test, [
{xref_checks, [
undefined_function_calls,
locals_not_used,
deprecated_function_calls
]},
{xref_ignores, [
{eiconv, init, 0}
]},
{dialyzer, [
{plt_extra_apps, [eunit]},
{warnings, [
no_return
]}
]},
{cover_enabled, true},
{cover_print_enabled, true},
{plugins, [pc]},
{artifacts, ["priv/eiconv_nif.so"]},
{provider_hooks, [
{post, [
{compile, {pc, compile}},
{clean, {pc, clean}}
]}
]}
]},
{edoc_private, [
{edoc_opts, [{private, true}]}
]}
]}.
{edoc_opts, [
{preprocess, true}, {stylesheet, "style.css"}
]}.
{deps, [
{pc, "1.14.0"}
]}.