00_bootstrap.sh

#!/usr/bin/env sh PWD=`pwd` FILES="AllApps Background.tgz casks fonts formulas" source ./utils.sh for file in ${FILES} ; do if [ ! -f ${file} ] ; then exit_err "${file} is missing. Ensure the following files are all present, then rerun: ${FILES}" fi done echo "\033[1;37;42m \033[m" echo "\033[1;37;42m bootstrap start \033[m" echo "\033[1;37;42m \033[m" echo "" if [[ `which xcodebuild` = "" ]] ; then exit_err "Install XCode from App Store, install command line tools and agree to the license first."; fi if ! command -v brew >/dev/null; then echo "- Installing Homebrew..." curl -fsS 'https://raw.githubusercontent.com/Homebrew/install/master/install' | ruby export PATH="/usr/local/bin:$PATH" fi brew update --force ./brews.sh || exit 1 ./installprefs.sh || exit 1 cp ./gitconfig $HOME/.gitconfig cp ./vimrc $HOME/.vimrc cp ./bash_profile $HOME/.bash_profile mkdir $HOME/.bash_includes cp ./git-completion.bash $HOME/.bash_includes/ #echo "\n1. yadm clone https://github.com/shannonwells/dotfiles.git" #echo "2. yadm bootstrap (or confirm as part of clone)" echo "You will need to install the following apps by hand:\n\n" cat ./AllApps echo "\033[1;37;47m \033[m" echo "\033[1;37;47m bootstrap done \033[m" echo "\033[1;37;47m \033[m"
Install scripts for use with a USB key, for setting up a new Mac for development.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.