Skip to content

Commit

Permalink
Removed unsused platform_define options
Browse files Browse the repository at this point in the history
Since erlware_commons bumped to 1.7.0, these options are of no use.

```
$ grep -r platform_define vendor/erlware_commons/*; echo $?
1
```
  • Loading branch information
Ariel Otilibili committed May 17, 2024
1 parent 5e2896d commit a4cac02
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 a4cac02

Please sign in to comment.