mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 10:53:34 +00:00
vendor updates
This commit is contained in:
1
vendor/github.com/container-storage-interface/spec/lib/go/.gitignore
generated
vendored
1
vendor/github.com/container-storage-interface/spec/lib/go/.gitignore
generated
vendored
@ -1,4 +1,3 @@
|
||||
/protoc
|
||||
/protoc-gen-go
|
||||
/csi.a
|
||||
/csi/.build/
|
||||
|
11
vendor/github.com/container-storage-interface/spec/lib/go/Makefile
generated
vendored
11
vendor/github.com/container-storage-interface/spec/lib/go/Makefile
generated
vendored
@ -76,10 +76,11 @@ export PATH := $(shell pwd):$(PATH)
|
||||
########################################################################
|
||||
## BUILD ##
|
||||
########################################################################
|
||||
CSI_GO := csi/csi.pb.go
|
||||
CSI_A := csi.a
|
||||
CSI_PROTO := ../../csi.proto
|
||||
CSI_GO_TMP := csi/.build/csi.pb.go
|
||||
CSI_PKG := $(shell cat $(CSI_PROTO) | sed -n -e 's/^package.\([^;]*\);$$/\1/p'|tr '.' '/')
|
||||
CSI_GO := $(CSI_PKG)/csi.pb.go
|
||||
CSI_A := csi.a
|
||||
CSI_GO_TMP := $(CSI_PKG)/.build/csi.pb.go
|
||||
|
||||
# This recipe generates the go language bindings to a temp area.
|
||||
$(CSI_GO_TMP): $(CSI_PROTO) | $(PROTOC) $(PROTOC_GEN_GO)
|
||||
@ -104,8 +105,8 @@ endif
|
||||
# 3. Build the archive file.
|
||||
$(CSI_A): $(CSI_GO)
|
||||
go get -d ./...
|
||||
go install ./csi
|
||||
go build -o "$@" ./csi
|
||||
go install ./$(CSI_PKG)
|
||||
go build -o "$@" ./$(CSI_PKG)
|
||||
|
||||
build: $(CSI_A)
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user