Skip to content

Commit

Permalink
Merge pull request #2888 from ariel-anieli/erlopts-erlware-commons
Browse files Browse the repository at this point in the history
Removed unsused platform_define options
  • Loading branch information
ferd committed May 18, 2024
2 parents 5e2896d + a4cac02 commit 6ce3505
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
7 changes: 1 addition & 6 deletions apps/rebar/rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,7 @@
{erl_opts, [no_debug_info]},
{overrides, [
{override, erlware_commons, [
{erl_opts, [{platform_define, "^[0-9]+", namespaced_types},
{platform_define, "^R1[4|5]", deprecated_crypto},
{platform_define, "^((1[8|9])|2)", rand_module},
{platform_define, "^2", unicode_str},
{platform_define, "^(R|1|20)", fun_stacktrace},
no_debug_info,
{erl_opts, [no_debug_info,
warnings_as_errors]},
{deps, []}, {plugins, []}]},
{add, ssl_verify_hostname, [{erl_opts, [no_debug_info]}]},
Expand Down
7 changes: 1 addition & 6 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,7 @@
{erl_opts, [no_debug_info]},
{overrides, [
{override, erlware_commons, [
{erl_opts, [{platform_define, "^[0-9]+", namespaced_types},
{platform_define, "^R1[4|5]", deprecated_crypto},
{platform_define, "^((1[8|9])|2)", rand_module},
{platform_define, "^2", unicode_str},
{platform_define, "^(R|1|20)", fun_stacktrace},
no_debug_info,
{erl_opts, [no_debug_info,
warnings_as_errors]},
{deps, []}, {plugins, []}]},
{add, ssl_verify_hostname, [{erl_opts, [no_debug_info]}]},
Expand Down

0 comments on commit 6ce3505

Please sign in to comment.