diff options
Diffstat (limited to 'rebar.config')
-rw-r--r-- | rebar.config | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rebar.config b/rebar.config index 3e2dcbb..acb1fad 100644 --- a/rebar.config +++ b/rebar.config @@ -12,6 +12,12 @@ {escript_top_level_app, rebar}. {escript_name, rebar3}. +{erl_opts, + [{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 |