summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rebar.config23
1 files changed, 5 insertions, 18 deletions
diff --git a/rebar.config b/rebar.config
index 2c51f73..3eb1958 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, ".*",