|
@ -10,25 +10,12 @@ |
|
|
{escript_top_level_app, rebar}. |
|
|
{escript_top_level_app, rebar}. |
|
|
{escript_name, rebar3}. |
|
|
{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, |
|
|
{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, [ |
|
|
{deps, [ |
|
|
{erlware_commons, ".*", |
|
|
{erlware_commons, ".*", |
|
|