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