Packages
Compile dispatch rules to an Erlang module
Current section
Files
Jump to
Current section
Files
dispatch_compiler
rebar.config
rebar.config
{require_min_otp_vsn, "18"}.
{erl_opts, [
debug_info,
{platform_define, "^[0-9]+", namespaced_dicts},
{platform_define, "^(19|2)", rand_only},
{platform_define, "^(R|1|20)", fun_stacktrace}
]
}.
{xref_checks, [
undefined_function_calls,
locals_not_used,
deprecated_function_calls
]}.
{xref_ignores, [
{dispatch_compiler, compile, 2},
{dispatch_compiler, compile_load, 2},
{dispatch_compiler, match, 3},
{dispatch_compiler, runtime_bind, 3}
]}.
{edoc_opts, [
{preprocess, true}, {stylesheet, "style.css"}
]}.
{profiles, [
{edoc_private, [
{edoc_opts, [
{private, true}
]}
]},
{test, [
{dialyzer, [
{warnings, [
no_return
]}
]},
{plugins, [
rebar3_proper
]},
{deps, [{proper,"1.4.0"}]}
]}
]}.
{project_plugins, [rebar3_hex, rebar3_ex_doc]}.
{hex, [
{doc, #{provider => ex_doc}}
]}.
{ex_doc, [
{extras, [
{"README.md", #{title => "Overview"}},
{"CHANGELOG.md", #{title => "Changelog"}},
{"LICENSE", #{title => "License"}}
]},
{main, "README.md"},
{source_url, "https://github.com/zotonic/dispatch_compiler"},
{assets, "assets"},
{api_reference, true}
]}.