diff options
author | Nick Vatamaniuc <vatamane@gmail.com> | 2022-06-17 17:23:35 -0400 |
---|---|---|
committer | Nick Vatamaniuc <nickva@users.noreply.github.com> | 2022-06-17 18:59:17 -0400 |
commit | b4aadedcb98b919894a811d41dfcbc9521906773 (patch) | |
tree | abf53c3299441c80b9189d3c8184d6006823ca6a /rebar.config.script | |
parent | 428d280e4cf64a211954a52f5d814bf93e97e354 (diff) | |
download | couchdb-b4aadedcb98b919894a811d41dfcbc9521906773.tar.gz |
Update rebar config to remove Erlang < 23 support
Diffstat (limited to 'rebar.config.script')
-rw-r--r-- | rebar.config.script | 12 |
1 files 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}, |