forked from HdrHistogram/hdr_histogram_erl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rebar.config
45 lines (39 loc) · 1.26 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
{clean_files, ["test/*.beam"]}.
{ct_extra_params, "-noshell -sname [email protected] -logdir logs -pa ebin -pa test"}.
{ct_use_shortnames, true}.
%% Really sorry but the warn export all and warn unused import blow up with EQC
{erl_opts, [
debug_info,
%warn_export_all,
warn_obsolete_guard,
%warn_unused_import,
warn_unused_vars,
warn_shadow_vars,
warnings_as_errors
]}.
{deps, [
{edown, ".*", {git, "https://github.com/uwiger/edown.git", {branch, "master"}}},
{fqc, ".*", {git, "https://github.com/project-fifo/fqc.git", {branch, "master"}}}
]}.
{edoc_opts, [
{report_missing_types, true},
{doclet, edown_doclet},
{source_path, ["src"]},
{stylesheet, ""},
{image, ""},
{app_default, "http://www.erlang.org/doc/man"},
{top_level_readme, {"./doc/README.md", "http://github.com/HdrHistogram/hdr_histogram_erl"}}
]}.
{port_specs, [
{ "priv/hdr_histogram_nif.so", [
"c_src/hdr_histogram_nif.c"
, "c_src/hdr_histogram.c"
, "c_src/hdr_histogram_log.c"
, "c_src/hdr_histogram_bin.c"
]}
]}.
{port_env, [
{"CFLAGS", "$CFLAGS -O3 -std=c99"}
]}.
{pre_hooks, [{"(linux|darwin|solaris)", compile, "make -C c_src"}]}.
{post_hooks, [{"(linux|darwin|solaris)", clean, "make -C c_src clean"}]}.