Current section
Files
Jump to
Current section
Files
rebar.config
{erl_opts, [debug_info, warnings_as_errors]}.
{deps, []}.
{project_plugins, [rebar3_ex_doc, rebar3_hex]}.
{hex, [{doc, ex_doc}]}.
{ex_doc, [
{source_url, <<"https://github.com/benoitc/erlang_h2">>},
{extras, [<<"README.md">>, <<"CHANGELOG.md">>, <<"docs/features.md">>]},
{main, <<"README.md">>}
]}.
%% Escript configuration
{escript_main_app, h2}.
{escript_incl_apps, [ssl, crypto, public_key, asn1]}.
{escript_emu_args, "%%! -escript main h2_client\n"}.
{profiles, [
{test, [
{deps, [{proper, "1.4.0"}]},
{erl_opts, [debug_info]}
]},
{server, [
{escript_name, h2_server},
{escript_emu_args, "%%! -escript main h2_server\n"},
{escript_incl_apps, [h2, ssl, crypto, public_key, asn1]}
]},
{client, [
{escript_name, h2_client},
{escript_emu_args, "%%! -escript main h2_client\n"},
{escript_incl_apps, [h2, ssl, crypto, public_key, asn1]}
]}
]}.
{cover_enabled, true}.
{cover_opts, [verbose]}.
{dialyzer, [
{warnings, [
error_handling,
unmatched_returns
]}
]}.
{xref_checks, [
undefined_function_calls,
undefined_functions,
locals_not_used,
deprecated_function_calls,
deprecated_functions
]}.