mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-28 19:28:19 -04:00
Adjust Makefile and regenerate protobuf
This commit is contained in:
21
Makefile
21
Makefile
@@ -163,11 +163,24 @@ go-coverage:
|
||||
echo -n "% coverage $$mod: "; $(MAKE) --no-print-directory -C $$mod go-coverage; \
|
||||
done
|
||||
|
||||
# bingo creates symlinks from the -l option in GOBIN, from where
|
||||
# we can easily use it with buf. To have the symlinks inside this
|
||||
# repo and on a known location, we set GOBIN to .bingo in the root
|
||||
# of the repository (therefore we need to cd ..)
|
||||
.PHONY: protoc-deps
|
||||
protoc-deps: $(BINGO)
|
||||
@GOPATH="" GOBIN=".bingo" $(BINGO) get -l google.golang.org/protobuf/cmd/protoc-gen-go
|
||||
@GOPATH="" GOBIN=".bingo" $(BINGO) get -l github.com/asim/go-micro/cmd/protoc-gen-micro/v4
|
||||
@GOPATH="" GOBIN=".bingo" $(BINGO) get -l github.com/owncloud/protoc-gen-microweb
|
||||
@GOPATH="" GOBIN=".bingo" $(BINGO) get -l github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2
|
||||
@GOPATH="" GOBIN=".bingo" $(BINGO) get -l github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc
|
||||
|
||||
.PHONY: buf-generate
|
||||
buf-generate: $(BUF) protoc-deps
|
||||
cd protogen/proto && $(BUF) generate
|
||||
|
||||
.PHONY: protobuf
|
||||
protobuf:
|
||||
@for mod in $(OCIS_MODULES); do \
|
||||
echo -n "% protobuf $$mod: "; $(MAKE) --no-print-directory -C $$mod protobuf; \
|
||||
done
|
||||
protobuf: buf-generate
|
||||
|
||||
.PHONY: bingo-update
|
||||
bingo-update: $(BINGO)
|
||||
|
||||
@@ -389,7 +389,8 @@
|
||||
"description": "The id of the group to add a member to",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"pattern": "[^/]+"
|
||||
},
|
||||
{
|
||||
"name": "body",
|
||||
@@ -435,7 +436,8 @@
|
||||
"description": "The id of the group to remove a member from",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"pattern": "[^/]+"
|
||||
},
|
||||
{
|
||||
"name": "accountId",
|
||||
@@ -482,7 +484,8 @@
|
||||
"description": "The id of the group to list members from",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"pattern": "[^/]+"
|
||||
},
|
||||
{
|
||||
"name": "body",
|
||||
|
||||
Reference in New Issue
Block a user