-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
80 lines (72 loc) · 1.47 KB
/
Rakefile
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
71
72
73
74
75
76
77
78
79
80
require 'rake'
desc "Install all the dependencies for these dotfiles using Homebrew"
task :dependencies do
# Check if we have Homebrew installed:
unless system("which brew 2>&1 > /dev/null")
puts "Homebrew is not Installed!"
puts "Install it first: https://github.com/mxcl/homebrew/wiki/installation"
exit(1)
end
brew_taps = [
"heroku/brew",
"homebrew/cask-fonts",
"petere/postgresql"
]
brew_recipes = [
"zsh",
"neovim",
"git",
"svn",
"hub",
"bash-completion",
"coreutils",
"tmux",
"reattach-to-user-namespace",
"ctags",
"curl",
"rbenv",
"ruby-build",
"nodenv",
"pyenv",
"fzf",
"the_silver_searcher",
"heroku",
"doctl",
"flyctl",
"python",
"python@2",
"p7zip",
"imagemagick",
"vips",
"puma/puma/puma-dev",
"potrace",
"nodejs",
"yarn",
"redis",
"petere/postgresql/postgresql-common",
"petere/postgresql/postgresql@14",
"ffmpeg"
]
brew_casks = [
"alacritty",
"brave-browser",
"rectangle",
]
brew_fonts = [
"font-roboto-mono",
"font-montserrat",
"font-inter"
]
brew_taps.each do |tap|
puts "Tapping into #{tap}..."
system("brew tap #{tap}")
end
brew_recipes.each do |recipe|
puts "Installing #{recipe}..."
system("brew install #{recipe}")
end
(brew_casks + brew_fonts).each do |cask|
puts "Installing cask #{cask}..."
system("brew install --cask #{cask}")
end
end