-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
18 lines (15 loc) · 970 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.DEFAULT_GOAL := help
.PHONY: $(MAKECMDGOALS)
help: ## Show this help message
@printf "\033[33mUsage:\033[0m\n make [target] [arg=\"val\"...]\n\n\033[33mTargets:\033[0m\n"
@grep -E '^[-a-zA-Z0-9_\.\/]+:.*?## .*$$' $(firstword $(MAKEFILE_LIST)) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[32m%-15s\033[0m %s\n", $$1, $$2}'
sync: ## Sync all symlinks for the configurations
@stow vim config todo git
@stow --dir=./config/.config/ --target="$$HOME/Library/Application Support/nushell" nushell
install: ## Attempt to install dependencies. Typically only used for new computers
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# mkdir ~/.vim/{plugged,undodir}
@brew update
@brew install node php fnm jq xsv bat fzf bottom glow ripgrep fd stow code-minimap tldr nushell vivid starship neovim hurl vhs gum helix
@npm install -g intelephense typescript typescript-language-server ts-node
@bat cache --build