module MStrap::Darwin::MacOS

Extended Modules

Defined in:

mstrap/platform/darwin/macos.cr

Constant Summary

XCODE_CLT_GIT_PATH = "/Library/Developer/CommandLineTools/usr/bin/git"

Class Method Summary

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


[View source]
def self.install_packages!(packages : Array(String)) #

[View source]
def self.package_installed?(package_name : String) #

[View source]