-
Notifications
You must be signed in to change notification settings - Fork 4
/
homebrew.sh
executable file
·70 lines (61 loc) · 1.02 KB
/
homebrew.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#!/bin/bash -e
which -s brew && brew update
which -s brew || ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
if ! brew doctor; then
echo "\`brew doctor\` failed. Please resolve issues before continuing."
exit 1
fi
brew tap homebrew/binary
brew tap justincampbell/formulae
brew tap neovim/homebrew-neovim
brew tap thoughtbot/formulae
formulae=(
ag
boot2docker
caskroom/cask/brew-cask
chruby
cloc
dotmusic
emoji-weather
git
heroku-toolbelt
hub
jq
neovim
pick
python
nvm
q-queue
reattach-to-user-namespace
rr
ruby-install
tmux-pomodoro
tmux-status-bar
tree
use
watch
wemux
wget
)
casks=(
1password
arq
dropbox
flux
iterm2
java
launchrocket
nvalt
skype
slate
vagrant
virtualbox
)
brew tap | grep "cask" > /dev/null || brew tap caskroom/homebrew-cask
for formula in "${formulae[@]}"; do
brew install $formula || brew upgrade $formula
done
brew linkapps
for cask in "${casks[@]}"; do
brew cask install $cask
done