This repository has been archived by the owner on Dec 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Spike out CLT automation for mavericks
- Loading branch information
Showing
1 changed file
with
20 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b26abd0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found this commit today as I am trying to automate the CLT installation as well.
Good approach with the loop, so it is semi-automated with GUI interaction.
But I wanted to have a
vagrant up
compatible way without GUI and I searched further.I finally found this gist: https://gist.github.com/trinitronx/6217746 which at least loads the October 2013 version, but also seems to work for older Mac OS X versions.
My current solution that works for me downloading the April 2014 version is here: StefanScherer/mac-dev-box@3712244
b26abd0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not getting a pop-up and the terminal just keeps looping since it doesn't find the directory exists.
b26abd0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the meantime I have found an even better solution, I think. Here in the box-cutter/osx-vm repo there is a script xcode-cli-tools.sh that uses the
softwareupdate
tool on Mavericks and thehdiutil
trick on older Mac OS X versions.