1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-10 01:51:07 +09:00

update generated files

This commit is contained in:
requilence 2019-11-06 16:21:33 +01:00
parent 824f9932e3
commit 8431528459
No known key found for this signature in database
GPG key ID: F07A7D55A2684852
5 changed files with 3537 additions and 3540 deletions

View file

@ -54,10 +54,11 @@ build-android:
mkdir -p dist/android/ && mv mobile.aar mobile/dist/android/
setup-protoc:
rm -rf $(GOPATH)/src/github.com/gogo/protobuf
rm -rf $(GOPATH)/src/github.com/gogo
mkdir -p $(GOPATH)/src/github.com/gogo
cd $(GOPATH)/src/github.com/gogo; git clone https://github.com/anytypeio/protobuf
cd $(GOPATH)/src/github.com/gogo/protobuf; go install github.com/gogo/protobuf/protoc-gen-gogofaster
cd $(GOPATH)/src/github.com/gogo/protobuf; go install github.com/gogo/protobuf/protoc-gen-gogofast
cd $(GOPATH); go get -u github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc
export PATH=$(PATH):$(GOROOT)/bin:$(GOPATH)/bin
@ -67,6 +68,6 @@ setup-protoc:
protos:
$(eval P_STRUCT := Mgoogle/protobuf/struct.proto=github.com/golang/protobuf/ptypes/struct)
cd pb/protos; protoc --gogofaster_out=$(P_STRUCT):.. *.proto
cd pb/protos; GOGO_NO_UNDERSCORE=1 protoc --gogofaster_out=$(P_STRUCT):.. *.proto
cd pb/protos/service; GOGO_NO_UNDERSCORE=1 PACKAGE_PATH=github.com/anytypeio/go-anytype-middleware/pb protoc -I=.. -I=. --gogofast_out=plugins=gomobile:../../../lib service.proto
cd pb/protos; GOGO_NO_UNDERSCORE=1 protoc --doc_out=../../docs --doc_opt=markdown,proto.md service/*.proto *.proto

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff