diff options
| -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.* |
