diff options
author | Austin English <austinenglish@gmail.com> | 2016-02-14 03:57:39 -0600 |
---|---|---|
committer | Austin English <austinenglish@gmail.com> | 2016-02-16 21:13:19 -0600 |
commit | 6f2ae95a7071e915a2c7ea7e016f4f46054c263e (patch) | |
tree | 88f8ca19357b593dcd14a66493f2bcca7c943893 | |
parent | 54523408de8d9d8916e67504187f43edf04f6542 (diff) |
Rakefile: warn if vagrant isn't 1.4.3feature/11125-rakefile-detect-vagrant-version
-rw-r--r-- | Rakefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -27,6 +27,12 @@ $:.unshift File.expand_path('../vagrant/lib', __FILE__) require 'tails_build_settings' require 'vagrant_version' +VAGRANT_REQUIRED_VERSION = '1.4.3' + +if Vagrant::VERSION != VAGRANT_REQUIRED_VERSION + abort "Vagrant version: #{Vagrant::VERSION}. Required version: #{VAGRANT_REQUIRED_VERSION}. See https://tails.boum.org/contribute/build/#index3h3" +end + # Path to the directory which holds our Vagrantfile VAGRANT_PATH = File.expand_path('../vagrant', __FILE__) |