-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
46 lines (33 loc) · 1.2 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
.PHONY: help init clean bash zsh fish git nvim tmux terminal mac health
.DEFAULT_GOAL := help
init: bash zsh git mac ## setup bash brew tmux terminal zsh nvim git mac
brew: ## install homebrew
bash ./bin/install-brew.sh
clean: brew ## uninstall and unlink files
bash ./zsh/bin/uninstaller.sh
bash ./fish/bin/uninstaller.sh
bash ./nvim/bin/uninstaller.sh
bash ./tmux/bin/uninstaller.sh
bash ./terminal/bin/uninstaller.sh
rm -rf ~/langserver
bash: ## setup bash
bash ./bash/bin/installer.sh
zsh: brew tmux terminal ## install and setup zsh
bash ./zsh/bin/installer.sh
fish: brew ## install and setup fish
bash ./fish/bin/installer.sh
git: nvim ## setup git
bash ./git/bin/installer.sh
nvim: brew ## install and setup neovim
bash ./nvim/bin/installer.sh
tmux: brew ## install and setup tmux
bash ./tmux/bin/installer.sh
terminal: brew ## install CLIs
bash ./terminal/bin/installer.sh
mac: brew ## setup vscode, system
bash ./mac/bin/vscode_installer.sh
bash ./mac/bin/system_setup.sh
health: ## check whether dotfiles are linked
bash ./bin/check-health.sh
help: ## this
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'