diff --git a/rebar.config b/rebar.config index 2c51f732..3eb19582 100644 --- a/rebar.config +++ b/rebar.config @@ -10,25 +10,12 @@ {escript_top_level_app, rebar}. {escript_name, rebar3}. -{profiles, [{dev, [ - {erl_opts, - [{platform_define, "R14", no_callback_support}, - {platform_define, "^[0-9]+", namespaced_types}, - {platform_define, "^R1[4|5]", deprecated_crypto}, - debug_info, - warnings_as_errors]} - ]} - ] -}. - -%% Types dict:dict() and digraph:digraph() have been introduced in Erlang 17. -%% At the same time, their counterparts dict() and digraph() are to be -%% deprecated in Erlang 18. namespaced_types option is used to select proper -%% type name depending on the OTP version used. {erl_opts, - [ - {platform_define, "^[0-9]+", namespaced_types} - ]}. + [{platform_define, "R14", no_callback_support}, + {platform_define, "^[0-9]+", namespaced_types}, + {platform_define, "^R1[4|5]", deprecated_crypto}, + debug_info, + warnings_as_errors]}. {deps, [ {erlware_commons, ".*",