-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmac
48 lines (38 loc) · 771 Bytes
/
mac
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
#!/bin/sh
# Exit immediately if a simple command exits with a non-zero status
set -e
# Install Homebrew
echo "Installing Homebrew"
if ! command -v brew >/dev/null; then
curl -fsS \
'https://raw.githubusercontent.com/Homebrew/install/master/install' | ruby
fi
echo "Disabling Homebrew analytics"
brew analytics off
echo "Updating Homebrew cache..."
brew update -v --force
echo "Installing Homebrewed packages..."
brew bundle --file=- <<EOF
# Unix
brew "bash-completion"
brew "git"
brew "gnupg"
brew "less"
brew "openssl"
brew "vim"
# Config management
brew "ansible"
brew "dockutil"
brew "mas"
brew "packer"
brew "stow"
brew "terraform"
# Development tools
brew "adr-tools"
brew "node"
# Casks
cask "docker"
cask "macdown"
cask "signal"
cask "vagrant"
EOF