diff options
author | Derek Brown <derekbrown121@gmail.com> | 2015-06-02 15:12:12 -0400 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2015-07-24 21:27:39 -0500 |
commit | 04fedc7422c26002785f6e7cb6e814fdb8a2f0dd (patch) | |
tree | b6c3cdfd066db917f5de4a651f36484e36b17d03 /priv | |
parent | 5cbc22c45d09f49d3867d71f4aac78326b9a8493 (diff) |
Add functions to validate OTP release in use
In the spirit of Original Rebar's "require_min_otp_vsn", this adds
rebar_utils:check_min_otp_version/1 (taking a string containing the
minimum version) and rebar_utils:check_blacklisted_otp_versions/1
(taking a list of regular expression strings), as well as tests in
rebar_utils_SUITE. They're currently only called by the tests-
how/where to best place calls to them from non-test code needs to be
determined (at which point two corresponding rebar.config keys can be
supported). For example, the version probably shouldn't be enforced when
just running "rebar3 help".
Diffstat (limited to 'priv')
0 files changed, 0 insertions, 0 deletions