-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
protoc plugin supports proto3 optional (#63)
- Loading branch information
Showing
7 changed files
with
35 additions
and
384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,8 +27,9 @@ checkgofmt: | |
|
||
.PHONY: generate | ||
generate: | ||
@GO111MODULE=on go install ./cmd/protoc-gen-grpchan | ||
@GO111MODULE=on go install github.com/golang/protobuf/protoc-gen-go | ||
@go install ./cmd/protoc-gen-grpchan | ||
@go install google.golang.org/protobuf/cmd/protoc-gen-go@a709e31e5d12 | ||
@go install google.golang.org/grpc/cmd/[email protected] | ||
go generate ./... | ||
|
||
.PHONY: vet | ||
|
@@ -37,17 +38,17 @@ vet: | |
|
||
.PHONY: staticcheck | ||
staticcheck: | ||
@GO111MODULE=on go install honnef.co/go/tools/cmd/staticcheck | ||
@GO111MODULE=on go install honnef.co/go/tools/cmd/staticcheck@v0.0.1-2020.1.4 | ||
staticcheck ./... | ||
|
||
.PHONY: ineffassign | ||
ineffassign: | ||
@GO111MODULE=on go install github.com/gordonklaus/ineffassign | ||
@GO111MODULE=on go install github.com/gordonklaus/ineffassign@v0.0.0-20200309095847-7953dde2c7bf | ||
ineffassign . | ||
|
||
.PHONY: predeclared | ||
predeclared: | ||
@GO111MODULE=on go install github.com/nishanths/predeclared | ||
@GO111MODULE=on go install github.com/nishanths/predeclared@v0.0.0-20200524104333-86fad755b4d3 | ||
predeclared . | ||
|
||
# Intentionally omitted from CI, but target here for ad-hoc reports. | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.