summaryrefslogtreecommitdiff
path: root/Makefile
blob: 3cf6cc45c46f465d49816e3a6a2aed86e3c04c53 (plain) (blame)
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
pwd = $(shell pwd)

.PHONY: all
all: /usr/bin/nvim dotfiles golibs

.PHONY: golibs
golibs:
	go install github.com/goreleaser/goreleaser@latest
	go install github.com/mkchoi212/fac@latest

# dotfiles
.PHONY: dotfiles
dotfiles: ~/.gitconfig ~/.gitignore ~/.config/zsh ~/.config/nvim ~/.zshrc ~/.config/kitty

~/.gitconfig:
	ln -s $(pwd)/git/config ~/.gitconfig || true
~/.gitignore:
	ln -s $(pwd)/git/ignore ~/.gitignore || true
~/.config/nvim:
	ln -s $(pwd)/nvim ~/.config/nvim || true
~/.config/zsh:
	ln -s $(pwd)/zsh ~/.config/zsh || true
~/.zshrc:
	@ln -s $(pwd)/zsh/zshrc ~/.zshrc || true
~/.config/kitty:
	@ln -s $(pwd)/kitty ~/.config/kitty || true