Current section
Files
Jump to
Current section
Files
fast_scram
rebar.config
rebar.config
{erl_opts, [debug_info]}.
{deps, []}.
{profiles, [
{test, [
{deps, [
{statistics, {git, "https://github.com/NelsonVides/statistics.git", {branch, "master"}}},
{proper, "1.3.0"},
{base16, {git, "https://github.com/esl/base16.git", {tag, "1.1.0"}}}
]},
{plugins, [
{rebar3_codecov, {git, "https://github.com/esl/rebar3_codecov.git", {ref, "6bd31cc"}}}
]},
{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}.