diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2016-02-03 17:05:36 -0500 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2016-02-03 17:05:36 -0500 |
commit | 9e1abdbd32b17b246ed6ed567cae570606b9bad8 (patch) | |
tree | a1799d99df6599f286d019d73bef10585f57b084 /src | |
parent | a229a21ffb5af043ade5c3834a669378e3a9658f (diff) | |
parent | 270066c2960f5ba0cf2c6cb69f62078f494a032f (diff) |
Merge pull request #1050 from tsloughter/master
check top level config for minimum or blacklisted otps at start
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar3.erl | 3 |
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; |