%% Artifacts are files generated by other tools (or plugins) and whose
%% presence is necessary for a build to be considered successful
{artifacts, ["priv/libargon2.so.1"]}.

{erl_opts, [debug_info, {i, ["argon2"]}]}.
{deps, []}.

%% Running shell commands before or after a given rebar3 command
{pre_hooks, [
    {"(linux|darwin|solaris)", compile, "make -C c_src"},
    {"(freebsd)", compile, "gmake -C c_src"}
]}.

%% Running shell commands after a given rebar3 command
{post_hooks, [
    {"(linux|darwin|solaris)", clean, "make -C c_src clean"},
    {"(freebsd)", clean, "gmake -C c_src clean"}
]}.

{project_plugins, [rebar3_hex, rebar3_ex_doc]}.

{ex_doc, [
    {source_url, "https://github.com/Pevensie/jargon"},
    {extras, ["README.md", "LICENSE"]},
    {main, "README.md"}
]}.

{hex, [
    {doc, ex_doc}
]}.

