27 lines
655 B
Makefile
27 lines
655 B
Makefile
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
|
|
|