Added tests for a minimumGit version of 1.8.0.

This commit is contained in:
Jeremy Cook
2014-11-23 22:22:44 -05:00
parent a808f56caf
commit 7bd9759e81
4 changed files with 24 additions and 12 deletions

View File

@@ -20,7 +20,7 @@ module Homesick
def initialize(args = [], options = {}, config = {})
super
# Check if git is installed
unless `git --version` =~ GIT_VERSION_PATTERN
unless version_check
say_status :error, "Git version >= #{Homesick::Actions::GitActions::STRING} must be installed to use Homesick", :red
exit(1)
end