Current section

Files

Jump to
fast_scram rebar.config
Raw

rebar.config

{erl_opts, [debug_info]}.
{deps,
[]}.
{profiles, [
{test, [
{deps, [
{statistics, {git, "https://github.com/NelsonVides/statistics.git", {branch, "master"}}},
{proper, "1.3.0"}
]},
{erl_opts, [{d, 'STATISTICS'}]}
]}
]
}.
{plugins, [pc, rebar3_hex]}.
{artifacts, ["priv/fast_scram.so"]}.
{port_specs,
[
{
% Any arch
".*",
% Create library
"priv/fast_scram.so",
% From files
["c_src/*.c"],
% Using options
[ {env, [{"CFLAGS", "$CFLAGS -std=c99 -O3 -g -Wall -Wextra -fPIC"},
{"LDLIBS", "$LDLIBS -lcrypto"},
{"DRV_LINK_TEMPLATE", "$DRV_LINK_TEMPLATE $LDLIBS"}]}]
}
]}.
{provider_hooks,
[
{post,
[
{compile, {pc, compile}},
{clean, {pc, clean}}
]}
]}.
{cover_enabled, true}.
{cover_export_enabled, true}.