forked from ZachiNachshon/dotfiles-example
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (18 loc) · 680 Bytes
/
Makefile
File metadata and controls
24 lines (18 loc) · 680 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
default: help
.PHONY: dotfiles
dotfiles: ## Create/remove symlinks in/from folder [$HOME/.dotfiles]
-@$(CURDIR)/dotfiles/dotfiles.sh
.PHONY: brew
brew: ## Installs commonly used Homebrew packages and casks
-@$(CURDIR)/brew/brew.sh
.PHONY: mac
mac: ## Install macOS KeyBindings, setup finder customizations and keyboard preferences
-@$(CURDIR)/mac/mac-os.sh
.PHONY: asdf
asdf: ## Install ASDF plugins
-@$(CURDIR)/asdf/asdf.sh
.PHONY: all
all: mac dotfiles brew asdf ## Execute `mac`, `dotfiles` and `brew` in this order
.PHONY: help
help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'