diff options
| author | Jeff Carr <[email protected]> | 2025-10-09 01:04:49 -0500 | 
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-09 01:04:49 -0500 | 
| commit | 19021a0787b4327200e6a99383b4881a395e8740 (patch) | |
| tree | 5c88c08da213ec8264f044a19cab66b7ce861786 | |
| parent | ec1377a39d07988b5d3a821fe0484a13b46958ba (diff) | |
common protobuf makefilev0.0.14
| -rw-r--r-- | Makefile | 19 | 
1 files changed, 7 insertions, 12 deletions
@@ -1,11 +1,8 @@ -# You must use the current protoc-gen-go -# -# go-clone --go-src google.golang.org/protobuf -# cd ~/go/src/google.golang.org/protobuf/cmd/protoc-gen-go -# go install +all: httpRequest.pb.go goimports vet +	@echo This GO code passes the compile checks - -all: goimports vet +httpRequest.pb.go: httpRequest.proto +	make generate  generate: clean  	go mod init @@ -15,14 +12,12 @@ generate: clean  go-generate:  	rm -f *.pb.go *.patch -vet: -	@GO111MODULE=off go vet -	@echo this go library package builds okay - -# autofixes your import headers in your golang files  goimports:  	goimports -w *.go +vet: +	@GO111MODULE=off go vet +  clean:  	rm -f *.pb.go *.patch  	-rm -f go.*  | 
