From 510265bb5bce1906cc6805b2da9ae9762c99b9a3 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Tue, 25 Jul 2017 22:53:21 +0800 Subject: [PATCH] fix: file path in target. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fc8b036..b2d460a 100644 --- a/Makefile +++ b/Makefile @@ -182,13 +182,13 @@ clean: -rm -rf bin/* \ .cover -rpc/example/node/gorush_grpc_pb.js: rpc/proto/gorush.proto +rpc/example/node/gorush_*_pb.js: rpc/proto/gorush.proto protoc -I rpc/proto rpc/proto/gorush.proto --js_out=import_style=commonjs,binary:rpc/example/node/ --grpc_out=rpc/example/node/ --plugin=protoc-gen-grpc=$(NODE_PROTOC_PLUGIN) rpc/proto/gorush.pb.go: rpc/proto/gorush.proto protoc -I rpc/proto rpc/proto/gorush.proto --go_out=plugins=grpc:rpc/proto -generate_proto: rpc/proto/gorush.pb.go rpc/example/node/gorush_grpc_pb.js +generate_proto: rpc/proto/gorush.pb.go rpc/example/node/gorush_*_pb.js version: @echo $(VERSION)