summaryrefslogtreecommitdiff
path: root/src/rebar3.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2016-02-03 13:07:47 -0600
committerTristan Sloughter <t@crashfast.com>2016-02-03 13:07:47 -0600
commit270066c2960f5ba0cf2c6cb69f62078f494a032f (patch)
treea1799d99df6599f286d019d73bef10585f57b084 /src/rebar3.erl
parenta229a21ffb5af043ade5c3834a669378e3a9658f (diff)
check top level config for minimum or blacklisted otps at start
Diffstat (limited to 'src/rebar3.erl')
-rw-r--r--src/rebar3.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rebar3.erl b/src/rebar3.erl
index 84d7c3e..879378e 100644
--- a/src/rebar3.erl
+++ b/src/rebar3.erl
@@ -105,6 +105,9 @@ run_aux(State, RawArgs) ->
rebar_state:apply_profiles(State, [list_to_atom(Profile)])
end,
+ rebar_utils:check_min_otp_version(rebar_state:get(State1, minimum_otp_vsn, undefined)),
+ rebar_utils:check_blacklisted_otp_versions(rebar_state:get(State1, blacklisted_otp_vsns, undefined)),
+
State2 = case os:getenv("HEX_CDN") of
false ->
State1;