Makefile 311 B

12345678910111213141516171819
  1. #!/usr/bin/env bash
  2. # Protocol Buffers for Go with Gadgets
  3. #
  4. # Copyright (c) 2013, The GoGo Authors. All rights reserved.
  5. # http://github.com/gogo/protobuf
  6. gogo:
  7. protoc \
  8. -I. \
  9. -I ${GOPATH}/src \
  10. --gogo_out=plugins=grpc:. *.proto
  11. go:
  12. protoc \
  13. -I. \
  14. -I ${GOPATH}/src \
  15. --go_out=plugins=grpc:. *.proto