-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmacos.mk
More file actions
172 lines (125 loc) · 5.8 KB
/
Copy pathmacos.mk
File metadata and controls
172 lines (125 loc) · 5.8 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
###############################################################################
# Basics #
###############################################################################
macos-core: macos-brew macos-stow macos-zsh
macos-brew:
run "pkg/brew/macos-brew.sh"
macos-clean:
find . -name ".DS_Store" -delete
###############################################################################
# App Suite #
###############################################################################
macos-app-private: macos-brew macos-app-dev macos-one-password macos-appcleaner macos-alfred macos-popclip macos-markedit
brew bundle --file brewfiles/app-essential.Brewfile
brew bundle --file brewfiles/app-private.Brewfile
brew bundle --file brewfiles/app-design.Brewfile
brew bundle --file brewfiles/app-multimedia.Brewfile
brew bundle --file brewfiles/app-productivity.Brewfile
brew bundle --file brewfiles/app-social.Brewfile
brew bundle --file brewfiles/app-utility.Brewfile
macos-app-work: macos-brew macos-app-dev macos-appcleaner macos-alfred macos-popclip
brew bundle --file brewfiles/app-essential.Brewfile
macos-app-dev: git macos-brew macos-iterm macos-sublime macos-terminal macos-vscode macos-xcode
brew bundle --file brewfiles/app-dev.Brewfile
###############################################################################
# CLI Suite #
###############################################################################
macos-cli-network: macos-brew
brew bundle --file brewfiles/cli-network.Brewfile
macos-cli-useful: macos-brew
brew bundle --file brewfiles/cli-useful.Brewfile
###############################################################################
# Apps #
###############################################################################
macos-alfred: macos-brew
brew bundle --file brewfiles/alfred.Brewfile
run "scripts/macos-alfred.sh"
macos-appcleaner: macos-brew
brew install --cask appcleaner
defaults import net.freemacsoft.AppCleaner pkg/macos-appcleaner/net.freemacsoft.AppCleaner.plist
macos-cleanshot: macos-brew
brew bundle --file brewfiles/cleanshot.Brewfile
run "scripts/macos-cleanshot.sh"
macos-finder:
run "scripts/macos-finder.sh"
macos-hammerspoon: macos-brew macos-stow
brew install --cask hammerspoon
stow --no-folding --dir 'pkg' --target "${HOME}" 'macos-hammerspoon'
macos-iterm: macos-brew
brew bundle --file pkg/macos-iterm/macos-iterm.Brewfile
exists imgcat || (run "pkg/macos-iterm/macos-iterm.sh")
macos-markedit: macos-brew
brew bundle --file brewfiles/markedit.Brewfile
run "scripts/macos-markedit.sh"
macos-one-password: macos-brew
brew bundle --file brewfiles/one-password.Brewfile
macos-popclip: macos-brew
brew bundle --file brewfiles/popclip.Brewfile
run "scripts/macos-popclip.sh"
macos-sublime: macos-brew macos-stow
brew install --cask sublime-text
run "pkg/sublime/macos-sublime.sh"
macos-terminal: macos-brew
brew bundle --file brewfiles/terminal.Brewfile
macos-tower: macos-brew macos-git
brew install --cask tower
run "pkg/macos-tower/macos-tower.sh"
macos-vscode: macos-brew
brew install --cask visual-studio-code
run "pkg/vscode/macos-vscode.sh"
macos-xcode: macos-brew
brew bundle --file brewfiles/xcode.Brewfile
###############################################################################
# CLIs #
###############################################################################
macos-docker: macos-brew
brew bundle --file brewfiles/docker.Brewfile
macos-duti: macos-brew
brew bundle --file brewfiles/duti.Brewfile
# This is a full suite of git plugins and configurations
# Most other target that requires git don't need this
macos-git: macos-brew
brew bundle --file pkg/git/git.Brewfile
macos-micro: macos-brew
brew install micro
macos-nano: ;
macos-shellcheck: macos-brew macos-stow
exists shellcheck || brew install shellcheck
stow --no-folding --dir 'pkg/shellcheck' --target "${HOME}" 'stow'
macos-stow: macos-brew macos-clean
$(eval BREW_BIN := $(shell bin/brew_bin))
exists stow || ${BREW_BIN}/brew install stow
macos-zsh: macos-brew macos-stow
$(eval BREW_BIN := $(shell bin/brew_bin))
${BREW_BIN}/brew bundle --file brewfiles/zsh.Brewfile
run "scripts/macos-zsh.sh"
###############################################################################
# Dev #
###############################################################################
macos-c-cpp: macos-brew
brew install cling
macos-javascript:
echo "dotfiles are installed, but not the runtime environments."
macos-perl: macos-stow
stow --no-folding --dir 'pkg/perl' --target "${HOME}" 'stow'
run "pkg/perl/macos-perl.sh"
###############################################################################
# Misc #
###############################################################################
macos-file-handler: macos-duti
run "scripts/macos-file-handler.sh"
macos-font: macos-brew
brew bundle --file pkg/macos-font/macos-font.Brewfile
cp -r pkg/macos-font/collection/ "${HOME}/Library/FontCollections"
macos-icon: macos-cli-useful
run "scripts/macos-icons.sh"
macos-quicklook: macos-brew
brew bundle --file brewfiles/ext-quicklook.Brewfile
macos-screensaver: macos-brew
brew bundle --file brewfiles/ext-screensaver.Brewfile
macos-service-workflow: macos-stow
stow --dir 'pkg' --target "${HOME}/Library/Services" 'macos-services'
macos-settings:
run "scripts/macos-settings.sh"
macos-touch-id-sudo:
run "scripts/macos-touch-id-sudo.sh"