-
-
Save ludovicc/5126411 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
sudo xcodebuild -license | |
if rvm --version 2>/dev/null; then | |
gem install soloist | |
else | |
sudo gem install soloist | |
fi | |
mkdir -p ~/cookbooks; cd ~/cookbooks | |
cat > soloistrc <<EOF | |
cookbook_paths: | |
- $PWD | |
recipes: | |
- pivotal_workstation::create_var_chef_cache | |
- pivotal_workstation::xquartz | |
EOF | |
if [[ -d pivotal_workstation ]]; then | |
cd pivotal_workstation && git pull && cd .. | |
else | |
git clone https://github.com/ludovicc/pivotal_workstation.git | |
fi | |
if [[ -d dmg ]]; then | |
cd dmg && git pull && cd .. | |
else | |
git clone https://github.com/opscode-cookbooks/dmg.git | |
fi | |
if [[ -d scala_workstation ]]; then | |
cd scala_workstation && git pull && cd .. | |
else | |
git clone https://github.com/ludovicc/scala_workstation.git | |
fi | |
soloist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment