%% -*-erlang-*-
%%==============================================================================
%% Copyright 2025 Jan Henry Nystrom <JanHenryNystrom@gmail.com>
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
%% You may obtain a copy of the License at
%%
%% http://www.apache.org/licenses/LICENSE-2.0
%%
%% Unless required by applicable law or agreed to in writing, software
%% distributed under the License is distributed on an "AS IS" BASIS,
%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
%% See the License for the specific language governing permissions and
%% limitations under the License.
%%==============================================================================

%% directory for artifacts produced by rebar3
{base_dir, ".build"}.

%% directory in '<base_dir>/<profile>/' where deps go
{deps_dir, "lib"}.

{deps, [jhn_stdlib, hackney]}.

{erl_opts, [fail_on_warning]}.

{shell, [{config, "test/sys.config"}]}.

{ct_opts, [{sys_config, "test/sys.config"}]}.

{eunit_opts, [{sys_config, "test/sys.config"}]}.

{xref_checks, [undefined_function_calls,
               undefined_functions,
               locals_not_used,
               deprecated_function_calls,
               deprecated_functions]}.

{plugins, [rebar3_hex]}.
{project_plugins, [rebar3_ex_doc]}.

{ex_doc, [{proglang, erlang},
          {extras, ["README.md", "LICENSE"]},
          {source_url, <<"https://github.com/JanHenryNystrom/jhn_s3c">>},
          {main, "readme"}]}.

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