| 1 |
|
| 2 |
build: |
| 3 |
go get github.com/golang/protobuf/protoc-gen-go |
| 4 |
cd ..; ./COMPILE-EXTENSION.sh |
| 5 |
generate-gnostic --extension x-sampleone.json --out_dir=$(GOPATH)/src/github.com/googleapis/gnostic/extensions/sample/generated |
| 6 |
cd generated/gnostic-x-sampleone/proto; protoc --go_out=Mgoogle/protobuf/any.proto=github.com/golang/protobuf/ptypes/any:. *.proto |
| 7 |
cd generated/gnostic-x-sampleone; go get; go install |
| 8 |
generate-gnostic --extension x-sampletwo.json --out_dir=$(GOPATH)/src/github.com/googleapis/gnostic/extensions/sample/generated |
| 9 |
cd generated/gnostic-x-sampletwo/proto; protoc --go_out=Mgoogle/protobuf/any.proto=github.com/golang/protobuf/ptypes/any:. *.proto |
| 10 |
cd generated/gnostic-x-sampletwo; go get; go install |