summaryrefslogtreecommitdiff
path: root/Makefile
blob: bdcc4b0989f11c9ca98f21637f1906ab9e9472f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
all: config.pb.go goimports vet

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

# autofixes your import headers in your golang files
goimports:
	goimports -w *.go

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

config.pb.go: config.proto
	autogenpb --proto config.proto