summaryrefslogtreecommitdiff
path: root/Makefile
blob: 7090a06c4ba40e75102674460e6aa1de156364e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
all: clean chat.pb.go goimports vet
	echo okay?

goimports:
	goimports -w *.go

chat.pb.go: chat.proto
	autogenpb --proto chat.proto

clean:
	rm -f *.pb.go *.patch
	-rm -f go.*

vet:
	@GO111MODULE=off go vet
	@echo this go library package builds okay