From 9b2d6aad67db0b37c606bf7b551d6253e6ecad2f Mon Sep 17 00:00:00 2001 From: Richard Park Date: Thu, 9 May 2019 02:18:31 +0900 Subject: [PATCH] path is changed --- generated/cdp.pb.go => cdp.pb.go | 0 generated/cdp_grpc_pb.d.ts => cdp_grpc_pb.d.ts | 0 generated/cdp_grpc_pb.js => cdp_grpc_pb.js | 0 generated/cdp_pb.d.ts => cdp_pb.d.ts | 0 generated/cdp_pb.js => cdp_pb.js | 0 script/proto_go.sh | 2 +- script/proto_typescript.sh | 6 +++--- 7 files changed, 4 insertions(+), 4 deletions(-) rename generated/cdp.pb.go => cdp.pb.go (100%) rename generated/cdp_grpc_pb.d.ts => cdp_grpc_pb.d.ts (100%) rename generated/cdp_grpc_pb.js => cdp_grpc_pb.js (100%) rename generated/cdp_pb.d.ts => cdp_pb.d.ts (100%) rename generated/cdp_pb.js => cdp_pb.js (100%) diff --git a/generated/cdp.pb.go b/cdp.pb.go similarity index 100% rename from generated/cdp.pb.go rename to cdp.pb.go diff --git a/generated/cdp_grpc_pb.d.ts b/cdp_grpc_pb.d.ts similarity index 100% rename from generated/cdp_grpc_pb.d.ts rename to cdp_grpc_pb.d.ts diff --git a/generated/cdp_grpc_pb.js b/cdp_grpc_pb.js similarity index 100% rename from generated/cdp_grpc_pb.js rename to cdp_grpc_pb.js diff --git a/generated/cdp_pb.d.ts b/cdp_pb.d.ts similarity index 100% rename from generated/cdp_pb.d.ts rename to cdp_pb.d.ts diff --git a/generated/cdp_pb.js b/cdp_pb.js similarity index 100% rename from generated/cdp_pb.js rename to cdp_pb.js diff --git a/script/proto_go.sh b/script/proto_go.sh index 6dee45c..d43245f 100755 --- a/script/proto_go.sh +++ b/script/proto_go.sh @@ -4,4 +4,4 @@ set -eu TARGET_DIR=$1 -protoc -I ${TARGET_DIR}/ ${TARGET_DIR}/*.proto --go_out=plugins=grpc:${TARGET_DIR}/generated +protoc -I ${TARGET_DIR}/ ${TARGET_DIR}/*.proto --go_out=plugins=grpc:${TARGET_DIR} diff --git a/script/proto_typescript.sh b/script/proto_typescript.sh index 39efd75..cb0f2a4 100755 --- a/script/proto_typescript.sh +++ b/script/proto_typescript.sh @@ -5,14 +5,14 @@ set -eu TARGET_DIR=$1 ./node_modules/.bin/grpc_tools_node_protoc \ - --js_out=import_style=commonjs,binary:${TARGET_DIR}/generated \ - --grpc_out=${TARGET_DIR}/generated \ + --js_out=import_style=commonjs,binary:${TARGET_DIR} \ + --grpc_out=${TARGET_DIR} \ --plugin=protoc-gen-grpc=./node_modules/.bin/grpc_tools_node_protoc_plugin \ -I ${TARGET_DIR} \ ${TARGET_DIR}/*.proto ./node_modules/.bin/grpc_tools_node_protoc \ --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts \ - --ts_out=${TARGET_DIR}/generated \ + --ts_out=${TARGET_DIR} \ -I ${TARGET_DIR} \ ${TARGET_DIR}/*.proto