summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorDerek Brown <derekbrown121@gmail.com>2015-06-02 15:12:12 -0400
committerTristan Sloughter <t@crashfast.com>2015-07-24 21:27:39 -0500
commit04fedc7422c26002785f6e7cb6e814fdb8a2f0dd (patch)
treeb6c3cdfd066db917f5de4a651f36484e36b17d03 /priv
parent5cbc22c45d09f49d3867d71f4aac78326b9a8493 (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