Current section

Files

Jump to
alsa rebar.config
Raw

rebar.config

{minimum_otp_vsn, "27"}.
{erl_opts, [debug_info]}.
{deps, [
    {reg, "0.1.0"}
]}.

{project_plugins, [rebar3_ex_doc]}.

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

{ex_doc, [
    {source_url, <<"https://github.com/kopera/erlang-alsa">>},
    {extras, [<<"README.md">>, {<<"LICENSE">>, #{title => <<"License">>}}]},
    {main, <<"readme">>}
]}.

{pre_hooks, [
    {"(linux)", compile, "make -C c_src/nif"},
    {"(linux)", compile, "make -C c_src/mixer"}
]}.
{post_hooks, [
    {"(linux)", clean, "make -C c_src/nif clean"},
    {"(linux)", clean, "make -C c_src/mixer clean"}
]}.

{shell, [
  % {config, "config/sys.config"},
    {apps, [alsa]}
]}.

{xref_checks, [
    undefined_function_calls, undefined_functions, locals_not_used,
    deprecated_function_calls, deprecated_functions
]}.
{xref_ignores, [
    {alsa_ctl, nif_path, 2},
    {alsa_ctl, nif_path, 0},
    {alsa_pcm, nif_path, 2},
    {alsa_pcm, nif_path, 0}
]}.