-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
49 lines (39 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
.PHONY: install
install:
./install
link:
./install --only clean link stow
update-brew:
@echo "Updating homebrew packages..."
@brew upgrade
@echo "Homebrew packages updated!"
@echo "Updating homebrew casks..."
@brew upgrade --cask
@echo "Homebrew casks updated!"
# @echo "Cleaning up after homebrew updates..."
# @brew cleanup
# @echo "Cleaned!"
update-brew-head:
@echo "Updating homebrew head packages..."
@brew upgrade --fetch-HEAD
update-npm:
@echo "Updating npm -g..."
@fish -c "npm update -g"
@echo "npm packages updated!"
update-pipx:
@echo "Updating pipx packages..."
@pipx upgrade-all
@echo "pipx packages updated!"
update-tldr:
@echo "Updating Tealdeer cache..."
@tldr --update
@echo "Tealdeer cache updated!"
update-nvim:
@echo "Updating Neovim plugins..."
@nvim --headless "+Lazy! sync" +MasonToolsUpdateSync +qa
@echo "\nNeovim plugins updated!"
update: update-brew update-brew-head update-tldr update-nvim update-pipx
reload-amethyst:
@killall Amethyst
@rm ~/Library/Preferences/com.amethyst.Amethyst.plist
@open /Applications/Amethyst.app