Tightened up git checking to check for a minimum installed version of

Git.
This commit is contained in:
Jeremy Cook
2014-11-23 14:32:47 -05:00
parent b7e2b45e69
commit a808f56caf
4 changed files with 25 additions and 4 deletions

View File

@@ -8,6 +8,7 @@ require 'homesick/cli'
# Homesick's top-level module
module Homesick
GITHUB_NAME_REPO_PATTERN = /\A([A-Za-z0-9_-]+\/[A-Za-z0-9_-]+)\Z/
GIT_VERSION_PATTERN = /[#{Homesick::Actions::GitActions::MAJOR}-9]\.[#{Homesick::Actions::GitActions::MINOR}-9]\.[#{Homesick::Actions::GitActions::PATCH}-9]/
SUBDIR_FILENAME = '.homesick_subdir'
DEFAULT_CASTLE_NAME = 'dotfiles'