mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-23 14:50:24 +00:00
11 lines
718 B
Makefile
11 lines
718 B
Makefile
|
|
||
|
build:
|
||
|
go get github.com/golang/protobuf/protoc-gen-go
|
||
|
cd ..; ./COMPILE-EXTENSION.sh
|
||
|
generate-gnostic --extension x-sampleone.json --out_dir=$(GOPATH)/src/github.com/googleapis/gnostic/extensions/sample/generated
|
||
|
cd generated/gnostic-x-sampleone/proto; protoc --go_out=Mgoogle/protobuf/any.proto=github.com/golang/protobuf/ptypes/any:. *.proto
|
||
|
cd generated/gnostic-x-sampleone; go get; go install
|
||
|
generate-gnostic --extension x-sampletwo.json --out_dir=$(GOPATH)/src/github.com/googleapis/gnostic/extensions/sample/generated
|
||
|
cd generated/gnostic-x-sampletwo/proto; protoc --go_out=Mgoogle/protobuf/any.proto=github.com/golang/protobuf/ptypes/any:. *.proto
|
||
|
cd generated/gnostic-x-sampletwo; go get; go install
|