forked from TrueCloudLab/frostfs-api-go
Update proto files from latest jindo
This commit is contained in:
parent
ca917e42d0
commit
8aca8c5787
13 changed files with 1 additions and 6 deletions
7
Makefile
7
Makefile
|
@ -50,17 +50,12 @@ docgen: deps
|
||||||
protoc:
|
protoc:
|
||||||
@echo "${B}${G}⇒ Cleanup old files ${R}"
|
@echo "${B}${G}⇒ Cleanup old files ${R}"
|
||||||
@find . -type f -name '*.pb.go' -not -path './vendor/*' -exec rm {} \;
|
@find . -type f -name '*.pb.go' -not -path './vendor/*' -exec rm {} \;
|
||||||
|
|
||||||
@echo "${B}${G}⇒ Install specific version for gogo-proto ${R}"
|
|
||||||
@go list -f '{{.Path}}/...@{{.Version}}' -m github.com/gogo/protobuf | xargs go get -v
|
|
||||||
@echo "${B}${G}⇒ Install specific version for protobuf lib ${R}"
|
|
||||||
@go list -f '{{.Path}}/...@{{.Version}}' -m github.com/golang/protobuf | xargs go get -v
|
|
||||||
@echo "${B}${G}⇒ Protoc generate ${R}"
|
@echo "${B}${G}⇒ Protoc generate ${R}"
|
||||||
@for f in `find . -type f -name '*.proto' -not -path './vendor/*'`; do \
|
@for f in `find . -type f -name '*.proto' -not -path './vendor/*'`; do \
|
||||||
echo "${B}${G}⇒ Processing $$f ${R}"; \
|
echo "${B}${G}⇒ Processing $$f ${R}"; \
|
||||||
protoc \
|
protoc \
|
||||||
--proto_path=.:./vendor:/usr/local/include \
|
--proto_path=.:./vendor:/usr/local/include \
|
||||||
--gofast_out=plugins=grpc,paths=source_relative:. $$f; \
|
--gofast_out=plugins=grpc,paths=source_relative:. $$f; \
|
||||||
done
|
done
|
||||||
|
|
||||||
update: docgen protoc
|
update: docgen protoc
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue