summaryrefslogtreecommitdiff
path: root/Makefile
blob: 32a986690826a508b954ff110b7c740e886d8834 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
all: proto goimports vet

redo: clean proto goimports vet

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

goimports:
	goimports -w *.go

proto: widget.pb.go table.pb.go

widget.pb.go: widget.proto
	autogenpb --proto widget.proto

table.pb.go: table.proto
	autogenpb --proto table.proto

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