aboutsummaryrefslogtreecommitdiffstats
path: root/rebar.config
diff options
context:
space:
mode:
authorLuis Rascão <[email protected]>2017-11-11 02:01:51 +0000
committerGitHub <[email protected]>2017-11-11 02:01:51 +0000
commit1d051663982502620dbdd2b372aee52894981568 (patch)
tree5859cfa77aeca68f30c03ceec8ee31cd2d3e943c /rebar.config
parentfb91587091ad8a9da7c22598e962d0f21dcc17ee (diff)
parent2868d7a7ae79829c740ff9a49e22e2ccf9e6296c (diff)
downloadrelx-1d051663982502620dbdd2b372aee52894981568.tar.gz
relx-1d051663982502620dbdd2b372aee52894981568.tar.bz2
relx-1d051663982502620dbdd2b372aee52894981568.zip
Merge pull request #618 from ferd/otp-20-unicode-support
OTP-20 unicode support and OTP-21 readiness
Diffstat (limited to 'rebar.config')
-rw-r--r--rebar.config9
1 files changed, 6 insertions, 3 deletions
diff --git a/rebar.config b/rebar.config
index 762d6df..888d0c2 100644
--- a/rebar.config
+++ b/rebar.config
@@ -1,8 +1,8 @@
%% -*- mode: Erlang; fill-column: 80; comment-column: 75; -*-
%% Dependencies ================================================================
-{deps, [{erlware_commons, "1.0.0"},
+{deps, [{erlware_commons, "1.0.1"},
{providers, "1.6.0"},
- {getopt, "0.8.2"},
+ {getopt, "1.0.1"},
{cf, "0.2.2"},
{bbmustache, "1.0.4"}
]}.
@@ -17,6 +17,7 @@
[{platform_define, "^[0-9]+", namespaced_types},
{platform_define, "^1[8|9]", rand_module},
{platform_define, "^2", rand_module},
+ {platform_define, "^2", unicode_str},
warnings_as_errors,
inline]}.
@@ -53,6 +54,7 @@
{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},
no_debug_info,
warnings_as_errors
]},
@@ -61,7 +63,8 @@
{override, bbmustache, [
{erl_opts, [no_debug_info]},
{deps, []}, {plugins, []}]},
- {override, getopt, [{erl_opts, [no_debug_info]}]},
+ {override, getopt, [{erl_opts, [no_debug_info,
+ {platform_define, "^2", unicode_str}]}]},
{override, providers, [{erl_opts, [no_debug_info]}]}
]}.