Makefile 718 B

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