2017-01-10 17:01:12 +08:00
|
|
|
all: gen
|
|
|
|
|
|
|
|
.PHONY : gen
|
|
|
|
|
|
|
|
gen:
|
2020-06-20 23:00:25 +08:00
|
|
|
protoc master.proto --go_out=plugins=grpc:./master_pb --go_opt=paths=source_relative
|
|
|
|
protoc volume_server.proto --go_out=plugins=grpc:./volume_server_pb --go_opt=paths=source_relative
|
|
|
|
protoc filer.proto --go_out=plugins=grpc:./filer_pb --go_opt=paths=source_relative
|
|
|
|
protoc iam.proto --go_out=plugins=grpc:./iam_pb --go_opt=paths=source_relative
|
|
|
|
protoc messaging.proto --go_out=plugins=grpc:./messaging_pb --go_opt=paths=source_relative
|
2018-11-26 05:43:26 +08:00
|
|
|
# protoc filer.proto --java_out=../../other/java/client/src/main/java
|
|
|
|
cp filer.proto ../../other/java/client/src/main/proto
|