Makefile 597 B

123456789101112
  1. all: gen
  2. .PHONY : gen
  3. gen:
  4. protoc master.proto --go_out=plugins=grpc:./master_pb --go_opt=paths=source_relative
  5. protoc volume_server.proto --go_out=plugins=grpc:./volume_server_pb --go_opt=paths=source_relative
  6. protoc filer.proto --go_out=plugins=grpc:./filer_pb --go_opt=paths=source_relative
  7. protoc iam.proto --go_out=plugins=grpc:./iam_pb --go_opt=paths=source_relative
  8. protoc messaging.proto --go_out=plugins=grpc:./messaging_pb --go_opt=paths=source_relative
  9. # protoc filer.proto --java_out=../../other/java/client/src/main/java
  10. cp filer.proto ../../other/java/client/src/main/proto