-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upgrade protobuf library to use Google's protobuf (#178)
- Loading branch information
1 parent
58fdf60
commit 6e59191
Showing
7 changed files
with
1,746 additions
and
6,437 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
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
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 |
---|---|---|
|
@@ -21,10 +21,10 @@ clean: | |
.PHONY: check | ||
check: | ||
echo "Installing proto libraries to versions in go.mod." ; \ | ||
go install github.com/golang/protobuf/protoc-gen-go ; \ | ||
go install github.com/gogo/protobuf/protoc-gen-gogofaster | ||
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.31.0 ; \ | ||
go install google.golang.org/grpc/cmd/protoc-gen-[email protected] | ||
|
||
.PHONY: regenerate | ||
regenerate: check clean | ||
@protoc --gogofaster_out=plugins=grpc:api api.proto | ||
@protoc --go_out=api --go-grpc_out=api --go_opt=paths=source_relative --go-grpc_opt=paths=source_relative api.proto | ||
@echo Done. |
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
Oops, something went wrong.