fix: file path in target.

This commit is contained in:
Bo-Yi Wu 2017-07-25 22:53:21 +08:00
parent f482c98128
commit 510265bb5b
1 changed files with 2 additions and 2 deletions

View File

@ -182,13 +182,13 @@ clean:
-rm -rf bin/* \ -rm -rf bin/* \
.cover .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) 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 rpc/proto/gorush.pb.go: rpc/proto/gorush.proto
protoc -I rpc/proto rpc/proto/gorush.proto --go_out=plugins=grpc:rpc/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: version:
@echo $(VERSION) @echo $(VERSION)