Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mach Bootstrap: Support for more platforms #13226

Closed
wants to merge 7 commits into from

Add osx support

  • Loading branch information
UK992 committed Sep 11, 2016
commit 8a2ac0a1ca4003372680aebca653713b0cbd88ce
@@ -9,6 +9,7 @@

from centosfedora import CentOSFedoraBootstrapper
from debian import DebianBootstrapper
from osx import OSXBootstrapper
from windows_gnu import WindowsGnuBootstrapper
from windows_msvc import WindowsMsvcBootstrapper

@@ -51,6 +52,12 @@ def __init__(self):
args['version'] = version
args['dist_id'] = dist_id

elif sys.platform.startswith('darwin'):
osx_version = platform.mac_ver()[0]

cls = OSXBootstrapper
args['version'] = osx_version

elif sys.platform.startswith('msys'):
cls = WindowsGnuBootstrapper

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.