{pre_hooks, [
    {"(linux|darwin|solaris)", compile, "make -C c_src"},
    {"(freebsd|openbsd|netbsd)", compile, "gmake -C c_src"}
]}.

{profiles, [
    {test, [
        {deps, [
            {procket, {git, "https://github.com/msantos/procket.git", {branch, "master"}}}
        ]}
    ]}
]}.

{post_hooks, [
    {"(linux|darwin|solaris)", clean, "make -C c_src clean"},
    {"(freebsd|openbsd|netbsd)", clean, "gmake -C c_src clean"},
    {edoc, "ex_doc --config .ex_doc.config --source-url \"https://github.com/msantos/inert\" --source-ref \"master\" \"inert\" `erl -noshell -s init stop -eval '{ok, [{_,_,X}]} = file:
consult(\"src/inert.app.src\"), io:format(\"~s\", [proplists:get_value(vsn, X, \"0.0.0\")]).'` _build/default/lib/inert/ebin"}
]}.

{edoc_opts, [
    {doclet, edoc_doclet_chunks},
    {layout, edoc_layout_chunks},
    {dir, "_build/default/lib/inert/doc"}
]}.
