Packages
erldns
6.0.2
11.1.0
11.0.3
11.0.2
11.0.1
11.0.0
10.6.0
10.5.6
10.5.5
10.5.4
10.5.3
10.5.2
10.5.1
10.5.0
10.4.4
10.4.3
10.4.2
10.4.1
10.4.0
10.3.0
10.2.1
10.2.0
10.1.0
10.0.0
10.0.0-rc4
10.0.0-rc3
10.0.0-rc2
10.0.0-rc1
9.1.0
9.0.0
9.0.0-rc3
9.0.0-rc2
9.0.0-rc1
8.1.0
8.0.0
8.0.0-rc6
8.0.0-rc5
8.0.0-rc4
8.0.0-rc3
8.0.0-rc2
8.0.0-rc1
7.0.0
7.0.0-rc9
7.0.0-rc8
7.0.0-rc7
7.0.0-rc6
7.0.0-rc5
7.0.0-rc4
7.0.0-rc3
7.0.0-rc2
7.0.0-rc12
7.0.0-rc11
7.0.0-rc10
7.0.0-rc1
6.0.2
6.0.1
6.0.0
5.0.0
4.3.1
4.3.0
4.2.4
4.2.3
4.2.2
4.2.1
4.2.0
4.1.2
4.1.1
4.1.0
4.0.0
3.0.0
1.0.0
Erlang Authoritative DNS Server
Current section
Files
Jump to
Current section
Files
rebar.config
{erl_opts, [
debug_info,
warn_unused_vars,
warnings_as_errors,
warn_export_all,
warn_shadow_vars,
warn_unused_import,
warn_unused_function,
warn_bif_clash,
warn_unused_record,
warn_deprecated_function,
warn_obsolete_guard,
strict_validation,
warn_export_vars,
warn_exported_vars
% warn_untyped_record
% warn_missing_spec,
% warn_missing_doc
]}.
{minimum_otp_vsn, "27"}.
{project_plugins, [
{rebar3_depup, "~> 0.4"},
{rebar3_hex, "~> 7.0"},
{rebar3_ex_doc, "~> 0.2"},
{rebar3_lint, "~> 4.0"},
{erlfmt, "~> 1.6"},
{covertool, "~> 2.0"}
]}.
{deps, [
{ranch, "~> 2.0"},
{cowboy, "~> 2.0"},
{dns_erlang, "~> 3.1"},
{telemetry, "~> 1.3"},
{recon, "~> 2.5"},
{iso8601, "~> 1.3"},
{nodefinder, "2.0.7"}
]}.
{overrides, [
{override, cowboy, [{deps, [{cowlib, "~> 2.0"}]}]}
]}.
{profiles, [
{test, [
{deps, [
{proper, "1.5.0"},
{meck, "1.0.0"},
{dnstest, ".*", {git, "https://github.com/dnsimple/dnstest", {ref, "25333aeb7abb4d1a0752d59654677e42d8ae59ca"}}}
]},
{erl_opts, [nowarn_export_all, nowarn_missing_spec, nowarn_missing_doc]},
{eunit_opts, [verbose]},
{covertool, [{coverdata_files, ["eunit.coverdata", "ct.coverdata"]}]},
%% Increment min_coverage when deprecations are removed
{cover_opts, [verbose, {min_coverage, 40}]},
{cover_enabled, true},
{cover_export_enabled, true}
]}
]}.
{depup, [{only, minor}]}.
{shell, [{apps, [erldns]}, {config, "erldns.config"}]}.
{relx, [
{release, {erldns, git}, [erldns]},
{dev_mode, true},
{include_erts, false},
{sys_config, "erldns.config"},
{overlay, [
{copy, "priv/zones-example.json", "priv/zones-example.json"},
{copy, "priv/zones-test.json", "priv/zones-test.json"}
]},
{extended_start_script, true}
]}.
{dialyzer, [
{warnings, [
no_unknown
]},
{plt_extra_apps, [cowboy, ranch]}
]}.
{xref_checks, [
locals_not_used,
undefined_functions,
undefined_function_calls,
{deprecated_function_calls, next_major_release},
{deprecated_functions, next_major_release}
]}.
{hex, [{doc, #{provider => ex_doc}}]}.
{ex_doc, [
{source_url, <<"https://github.com/dnsimple/erldns">>},
{main, <<"readme">>},
{extras, [
{'README.md', #{title => <<"Overview">>}},
{'LICENSE.md', #{title => <<"License">>}}
]}
]}.
{erlfmt, [
write,
{print_width, 140},
{files, [
"{src,test,include}/**/*.{hrl,erl,app.src}",
"rebar.config"
]}
]}.
{elvis, [
#{
dirs => ["src"],
filter => "*.erl",
rules => [
%% TODO: fix
{elvis_text_style, line_length, #{limit => 140, skip_comments => true, no_whitespace_after_limit => true}},
{elvis_style, dont_repeat_yourself, disable},
{elvis_style, param_pattern_matching, disable},
{elvis_style, invalid_dynamic_call, disable},
{elvis_style, god_modules, disable},
%% NOTE: keep
{elvis_style, private_data_types, disable}
],
ruleset => erl_files,
ignore => ['DNS-ASN1']
},
#{
dirs => ["include"],
filter => "*.hrl",
ruleset => hrl_files
},
#{
dirs => ["."],
filter => "rebar.config",
ruleset => rebar_config
}
]}.