mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-06-17 05:06:14 +02:00
tarball: Copy more "google.golang.org/protobuf" modules to vendor.
This is required for the "protoc-gen-go" to be able to compile. Auto-detection only works for modules that are imported by the main module.
This commit is contained in:
parent
2174980c8a
commit
30a2fb134e
4
Makefile
4
Makefile
|
@ -159,6 +159,10 @@ vendor: go.mod go.sum common
|
|||
[ -d "$(GOPATH)/pkg/mod/google.golang.org/grpc/cmd/protoc-gen-go-grpc@$(PROTOC_GEN_GRPC_VERSION)" ] || exit 1; \
|
||||
cp -rf --no-preserve=mode $(GOPATH)/pkg/mod/google.golang.org/grpc/cmd/protoc-gen-go-grpc@$(PROTOC_GEN_GRPC_VERSION)/* $(VENDORDIR)/google.golang.org/grpc/cmd/protoc-gen-go-grpc/; \
|
||||
cp -rf --no-preserve=mode $$PROTOBUF_DIR/cmd/ $(VENDORDIR)/google.golang.org/protobuf/; \
|
||||
cp -rf --no-preserve=mode $$PROTOBUF_DIR/internal/ $(VENDORDIR)/google.golang.org/protobuf/; \
|
||||
cp -rf --no-preserve=mode $$PROTOBUF_DIR/reflect/ $(VENDORDIR)/google.golang.org/protobuf/; \
|
||||
find $(VENDORDIR)/google.golang.org/protobuf/ -name "*_test.go" -delete; \
|
||||
find $(VENDORDIR)/google.golang.org/protobuf/ -name "testdata" | xargs rm -r; \
|
||||
|
||||
tarball: vendor
|
||||
git archive \
|
||||
|
|
Loading…
Reference in a new issue