summaryrefslogtreecommitdiff
path: root/rebar.config.script
diff options
context:
space:
mode:
Diffstat (limited to 'rebar.config.script')
-rw-r--r--rebar.config.script12
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},