Current section

Files

Jump to
sied rebar.config
Raw

rebar.config

{project_plugins, [rebar3_ex_doc, rebar3_hex]}.
{hex, [
{doc, ex_doc},
{files, [
"src/**",
"native/**",
"priv/sied.dll",
"priv/sied.so",
"priv/sied.dylib",
"rebar.config", "Makefile", "README*", "LICENSE*"
]}
]}.
{ex_doc, [
{extras, [
{"README.md", #{title => "Overview"}},
{"LICENSE", #{title => "License"}}
]},
{main, "README.md"},
{source_url, "https://github.com/roquess/sied"},
{api_reference, true}
]}.
{erl_opts, [debug_info]}.
%% Automatically compile the Rust NIF on Linux/macOS if not already present.
%% On Windows the pre-built sied.dll shipped with the hex package is used.
{pre_hooks, [
{"(linux|darwin)", compile,
"make -f Makefile build_if_needed"}
]}.
{deps, []}.
{shell, [
{apps, [sied]}
]}.