module MStrap::Darwin::MacOS
Extended Modules
Defined in:
mstrap/platform/darwin/macos.crConstant Summary
-
XCODE_CLT_GIT_PATH =
"/Library/Developer/CommandLineTools/usr/bin/git"
Class Method Summary
-
.has_git?
Indicates whether the host platform has Git installed
- .install_packages!(packages : Array(String))
- .package_installed?(package_name : String)
Class Method Detail
def self.has_git?
#
Indicates whether the host platform has Git installed
NOTE On macOS, there's a few tricks involved due to Xcode shims, so we'll only consider it installed if it's from Homebrew (or elsewhere), or installed via Xcode Command Line Tools