summary refs log tree commit diff
path: root/Makefile
blob: d23d06530166719d31c33ae52ee23501e21244d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
XDG_CONFIG=$(HOME)/.config/
LN = @ln -sf

.PHONY: go
go:
	@go install golang.org/x/tools/gopls@latest
	@go install honnef.co/go/tools/cmd/staticcheck@latest
	@go install github.com/go-delve/delve/cmd/dlv@latest

.PHONY: emacs
emacs: go
	$(LN) $(PWD)/emacs $(XDG_CONFIG)
	$(LN) $(PWD)/aspell.en.pws $(HOME)/.aspell.en.pws

.PHONY: setup
setup:
	@git config --local user.email "franck@fcuny.net"
	@git config --local user.name "Franck Cuny"

all: setup emacs