ginpb/Makefile

19 lines
336 B
Makefile

# You must use the current google protoc-gen-go
#
# cd ~/go/src/google.golang.org/protobuf/cmd/protoc-gen-go
# go install
all: 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
-rm -f go.*