% SPDX-FileCopyrightText: 2025 Łukasz Niemier <#@hauleth.dev>
%
% SPDX-License-Identifier: MIT

{erl_opts, [debug_info]}.
{deps, []}.

{project_plugins, [rebar3_ex_doc]}.

{hex, [
    {doc, #{provider => ex_doc}}
]}.

{ex_doc, [
          {extras, [
                    {"README.md", #{title => "Overview"}},
                    {"LICENSES/MIT.txt", #{title => "License"}}
                   ]},
          {main, "README.md"},
          {source_url, "https://github.com/hauleth/os_process"}
         ]}.

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