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:
parent
824f9932e3
commit
8431528459
5 changed files with 3537 additions and 3540 deletions
5
Makefile
5
Makefile
|
@ -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
|
||||
|
|
940
pb/changes.pb.go
940
pb/changes.pb.go
File diff suppressed because it is too large
Load diff
3422
pb/commands.pb.go
3422
pb/commands.pb.go
File diff suppressed because it is too large
Load diff
802
pb/events.pb.go
802
pb/events.pb.go
File diff suppressed because it is too large
Load diff
1908
pb/models.pb.go
1908
pb/models.pb.go
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue