Created
June 29, 2018 22:42
-
-
Save acoomans/cd03197b53626ba82d68145d40b700b2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/usr/bin/env bash | |
if ! [ -x "$(command -v cmake)" ]; then | |
brew install cmake || \ | |
echo 'cmake not found' | |
fi | |
if ! [ -x "$(command -v ninja)" ]; then | |
brew install ninja || \ | |
echo 'ninja not found' | |
fi | |
mkdir swift | |
cd swift | |
git clone --depth 1 [email protected]:apple/swift.git | |
./swift/utils/update-checkout --clone --skip-history | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment