Last active
July 28, 2017 21:49
-
-
Save JCash/d408a93ea14d0155882f77763de4ef5d to your computer and use it in GitHub Desktop.
Simply my way of migrating my dev setup between computers
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 | |
WORK=~/work | |
EXTERNAL=$WORK/external | |
PROJECTS=$WORK/projects | |
if [ ! -e $WORK ]; then mkdir $WORK; fi | |
if [ "" == "`which brew`" ] | |
then | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
fi | |
function install_brew { | |
local check=$1 | |
local args=$* | |
if [ "" == "`which ${check}`" ] | |
then | |
brew install $args | |
fi | |
} | |
install_brew gist | |
install_brew tree | |
install_brew ffmpeg --with-libvorbis |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment