-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cf2638d
commit 3fb9dd6
Showing
7 changed files
with
1,746 additions
and
6,409 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.