Current section
Files
Jump to
Current section
Files
rebar.config
{cover_enabled, true}.
{cover_opts, [verbose]}.
{cover_export_enabled, true}.
{covertool, [{coverdata_files, ["eunit.coverdata"]}]}.
{cover_excl_mods, [
multihash_nif
]}.
{plugins, [covertool]}.
{erl_opts, [warn_untyped_records, debug_info, warnings_as_errors]}.
{dialyzer, [
{warnings, [
no_return,
no_match,
unmatched_returns,
error_handling,
race_conditions,
underspecs
]}
]}.
{pre_hooks, [
{"(linux|solaris|freebsd)", compile,
"sh -c \"cd crates/multihash && cargo build --release && cp target/release/libmultihash.so ../../priv/\""},
{"(darwin)", compile,
"sh -c \"cd crates/multihash && cargo build --release && cp target/release/libmultihash.dylib ../../priv/libmultihash.so\""}
]}.