-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
54 lines (42 loc) · 1.06 KB
/
Makefile
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
.PHONY: brew git gpg k9s mise nvim ssh starship vscode warp zsh
default: .PHONY
bootstrap:
# ln will fail if repo was already checked out in ~/dotfiles
@ln -sfv $(shell pwd -P) ${HOME} || true
ifeq (,$(wildcard ${HOME}/dotfiles/.profile))
@echo "Usage (private/work)?"
@read line; echo $$line > ${HOME}/dotfiles/.profile
endif
brew: bootstrap
@chmod +x brew/install.sh
@./brew/install.sh
git: bootstrap
@chmod +x git/install.sh
@./git/install.sh
gpg: bootstrap brew
@chmod +x gpg/install.sh
@./gpg/install.sh
k9s: bootstrap zsh
@chmod +x k9s/install.sh
@./k9s/install.sh
mise: bootstrap brew zsh
@chmod +x mise/install.sh
@./mise/install.sh
nvim: bootstrap brew
@chmod +x nvim/install.sh
@./nvim/install.sh
ssh: bootstrap
@chmod +x ssh/install.sh
@./ssh/install.sh
starship: bootstrap brew
@chmod +x starship/install.sh
@./starship/install.sh
vscode: bootstrap brew
@chmod +x vscode/install.sh
@./vscode/install.sh
warp: bootstrap brew
@chmod +x warp/install.sh
@./warp/install.sh
zsh: bootstrap brew
@chmod +x zsh/install.sh
@./zsh/install.sh