summaryrefslogblamecommitdiff
path: root/Makefile
blob: 3005dababab95944eed89a2b36b14189dc8e922e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                  

           
                                  

              
       


                                                          

                
                                                                                         




                                                     

                                                 


                                               
                                                


                                                   
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