Skip to content

Commit

Permalink
Improve formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
g-andrade committed Jan 11, 2023
1 parent 3280ebe commit c1f42fe
Showing 1 changed file with 83 additions and 83 deletions.
166 changes: 83 additions & 83 deletions rebar.config
Original file line number Diff line number Diff line change
@@ -1,97 +1,97 @@
{erl_opts,
[debug_info,
warn_export_all,
warn_export_vars,
warn_missing_spec,
warn_obsolete_guards,
warn_shadow_vars,
warn_unused_import,
warnings_as_errors,
{platform_define, "^23\.[1-3]", 'HARDCODED_AUTHORITIES_UPDATER_SUPPORTED'},
{platform_define, "^2[4-9]", 'HARDCODED_AUTHORITIES_UPDATER_SUPPORTED'},
{platform_define, "^[3-9]", 'HARDCODED_AUTHORITIES_UPDATER_SUPPORTED'},
{platform_define, "^22\\.", 'EXPIRED_CAs_ARE_CONSIDERED_VALID'},
{platform_define, "^23\\.[0-2][^0-9]", 'EXPIRED_CAs_ARE_CONSIDERED_VALID'},
{platform_define, "^22\\.", 'FLAKY_CROSS_SIGNING_VALIDATION'},
{platform_define, "^23\\.[0-1][^0-9]", 'FLAKY_CROSS_SIGNING_VALIDATION'},
{platform_define, "^2[2-4]\\.", 'NO_PUBLIC_KEY_CACERTS_GET'}
]}.
{erl_opts, [
debug_info,
warn_export_all,
warn_export_vars,
warn_missing_spec,
warn_obsolete_guards,
warn_shadow_vars,
warn_unused_import,
warnings_as_errors,
{platform_define, "^23\.[1-3]", 'HARDCODED_AUTHORITIES_UPDATER_SUPPORTED'},
{platform_define, "^2[4-9]", 'HARDCODED_AUTHORITIES_UPDATER_SUPPORTED'},
{platform_define, "^[3-9]", 'HARDCODED_AUTHORITIES_UPDATER_SUPPORTED'},
{platform_define, "^22\\.", 'EXPIRED_CAs_ARE_CONSIDERED_VALID'},
{platform_define, "^23\\.[0-2][^0-9]", 'EXPIRED_CAs_ARE_CONSIDERED_VALID'},
{platform_define, "^22\\.", 'FLAKY_CROSS_SIGNING_VALIDATION'},
{platform_define, "^23\\.[0-1][^0-9]", 'FLAKY_CROSS_SIGNING_VALIDATION'},
{platform_define, "^2[2-4]\\.", 'NO_PUBLIC_KEY_CACERTS_GET'}
]}.

{minimum_otp_vsn, "22.0"}.

{deps,
[{ssl_verify_fun, "1.1.6"}
]}.

{shell,
[{apps, [tls_certificate_check]},
{config, "shell.config"}
]}.
{deps, [
{ssl_verify_fun, "1.1.6"}
]}.

{dialyzer,
[{plt_include_all_deps, true},
{warnings,
[unmatched_returns,
error_handling,
underspecs,
unknown
]},
{plt_extra_apps, [changelog_updater]}
]}.
{shell, [
{apps, [tls_certificate_check]},
{config, "shell.config"}
]}.

{xref_checks,
[undefined_function_calls,
undefined_functions,
locals_not_used,
exports_not_used,
deprecated_function_calls,
deprecated_functions
]}.
{dialyzer, [
{plt_include_all_deps, true},
{warnings, [
unmatched_returns,
error_handling,
underspecs,
unknown
]},
{plt_extra_apps, [changelog_updater]}
]}.

{project_plugins,
[{rebar3_ex_doc, "0.2.8"},
{rebar3_hex, "7.0.1"}
]}.
{xref_checks, [
undefined_function_calls,
undefined_functions,
locals_not_used,
exports_not_used,
deprecated_function_calls,
deprecated_functions
]}.

{profiles,
[{development,
[{deps, [{recon, "2.5.1"}]},
{erl_opts,
[nowarn_missing_spec,
nowarnings_as_errors]}
]},
{project_plugins, [
{rebar3_ex_doc, "0.2.8"},
{rebar3_hex, "7.0.1"}
]}.

{profiles, [
{development, [
{deps, [{recon, "2.5.1"}]},
{erl_opts, [
nowarn_missing_spec,
nowarnings_as_errors
]}
]},

{test,
[{erl_opts,
[debug_info,
nowarn_export_all,
nowarn_missing_spec,
nowarnings_as_errors
]},
{deps, [{certifi, "2.10.0"}]},
{cover_enabled, true},
{cover_opts, [verbose]}
]},
{test, [
{erl_opts, [
debug_info,
nowarn_export_all,
nowarn_missing_spec,
nowarnings_as_errors
]},
{deps, [{certifi, "2.10.0"}]},
{cover_enabled, true},
{cover_opts, [verbose]}
]},

{elixir_test,
[{deps, [{castore, "0.1.20"}]},
{plugins, [{rebar_mix, "0.5.1"}]},
{provider_hooks, [{post, [{compile, {mix, consolidate_protocols}}]}]}
]},
{elixir_test, [
{deps, [{castore, "0.1.20"}]},
{plugins, [{rebar_mix, "0.5.1"}]},
{provider_hooks, [{post, [{compile, {mix, consolidate_protocols}}]}]}
]},

{hardcoded_authorities_update,
[{erl_opts,
[{src_dirs, ["src", "util"]}
]},
{deps,
[{changelog_updater, {git, "https://github.com/g-andrade/changelog_updater.git", {ref, "07b13ce"}}} % FIXME
]},
{escript_incl_apps, [tls_certificate_check, changelog_updater]},
{escript_name, "tls_certificate_check_hardcoded_authorities_updater"},
{escript_emu_args, "%%! -noinput\n"}
]}
]}.
{hardcoded_authorities_update, [
{erl_opts, [
{src_dirs, ["src", "util"]}
]},
{deps, [
{changelog_updater, {git, "https://github.com/g-andrade/changelog_updater.git", {ref, "07b13ce"}}} % FIXME
]},
{escript_incl_apps, [tls_certificate_check, changelog_updater]},
{escript_name, "tls_certificate_check_hardcoded_authorities_updater"},
{escript_emu_args, "%%! -noinput\n"}
]}
]}.

{ex_doc, [
{source_url, <<"https://github.com/g-andrade/tls_certificate_check">>},
Expand Down

0 comments on commit c1f42fe

Please sign in to comment.