You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2022/06/17 22:59:28 UTC
[couchdb] 02/07: Update rebar config to remove Erlang < 23 support
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit b4aadedcb98b919894a811d41dfcbc9521906773
Author: Nick Vatamaniuc <va...@gmail.com>
AuthorDate: Fri Jun 17 17:23:35 2022 -0400
Update rebar config to remove Erlang < 23 support
---
rebar.config.script | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/rebar.config.script b/rebar.config.script
index 44c4d61b1..1aa16305a 100644
--- a/rebar.config.script
+++ b/rebar.config.script
@@ -80,14 +80,8 @@ BadErlang = fun(Ver) ->
end.
case VerList of
- [OldVer | _] when OldVer < 19 -> ErlangTooOld(VerString);
-
- [19 | _] -> NotSupported(VerString);
-
- [20 | _] = V20 when V20 < [20, 3, 8, 11] -> BadErlang(VerString);
- [21 | _] = V21 when V21 < [21, 2, 3] -> BadErlang(VerString);
- [22, 0, N | _] when N < 5 -> BadErlang(VerString);
-
+ % Leave example around if we have to exlude specific versions
+ % [22, 0, N | _] when N < 5 -> BadErlang(VerString);
_ -> ok
end.
@@ -192,7 +186,7 @@ MakeDep = fun
end.
AddConfig = [
- {require_otp_vsn, "20|21|22|23|24|25"},
+ {require_otp_vsn, "23|24|25"},
{deps_dir, "src"},
{deps, lists:map(MakeDep, DepDescs ++ OptionalDeps)},
{sub_dirs, SubDirs},