Last active
August 29, 2015 14:16
-
-
Save bonty/1467c17c9838a8625551 to your computer and use it in GitHub Desktop.
build_server_setting
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
{ | |
"formulas": [ | |
"android-ndk", | |
"android-sdk", | |
"ant", | |
"brew-cask", | |
"git", | |
"gradle", | |
"Caskroom/cask/java" | |
"jenkins", | |
"rbenv --HEAD", | |
"rbenv-gem-rehash", | |
"rbenv-gemset", | |
"zsh" | |
], | |
"taps": [ | |
"caskroom/cask" | |
] | |
} |
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/sh | |
# install homebrew | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# install cider | |
sudo easy_install pip | |
sudo pip install cider | |
# install packages | |
mkdir ~/.cider | |
# download bootstrap.json above | |
curl -o ~/.cider/bootstrap.json https://gist.githubusercontent.com/bonty/1467c17c9838a8625551/raw/314664d9691d7a8ba4fe6cd7e8adb102e89a8a8b/bootstrap.json | |
cider restore | |
# setup jenkins | |
mkdir -p ~/Library/LaunchAgents | |
ln -sfv /usr/local/opt/jenkins/*.plist ~/Library/LaunchAgents | |
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.jenkins.plist | |
echo "export ANDROID_SDK_ROOT=/usr/local/opt/android-sdk" >> ~/.bashrc | |
echo "export NDK_ROOT=/usr/local/opt/android-ndk" >> ~/.bashrc | |
echo "export ANT_ROOT=/usr/local/bin" >> ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment