Packages

High Dynamic Range Histogram Erlang/OTP library

Current section

Files

Jump to
hdr_histogram rebar.config
Raw

rebar.config

{clean_files, ["test/*.beam"]}.
{ct_extra_params, "-noshell -sname hdr_histogram_test@127.0.0.1 -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
]}.
{profiles,
[{lint, [{plugins, [rebar3_lint]}]},
{docs, [{deps, [edown]}]},
{eqc, [{plugins, [{rebar3_eqc, {git, "https://github.com/project-fifo/rebar3-eqc-plugin.git", {branch, "rebar3-update"}}}]}]}]}.
{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"
]}
]}.
{artifacts,
["priv/hdr_histogram_nif.so"]}.
{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"}]}.