path is changed

This commit is contained in:
병준 박 2019-05-09 02:18:31 +09:00
parent e500dd4943
commit 9b2d6aad67
7 changed files with 4 additions and 4 deletions

View File

@ -4,4 +4,4 @@ set -eu
TARGET_DIR=$1 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}

View File

@ -5,14 +5,14 @@ set -eu
TARGET_DIR=$1 TARGET_DIR=$1
./node_modules/.bin/grpc_tools_node_protoc \ ./node_modules/.bin/grpc_tools_node_protoc \
--js_out=import_style=commonjs,binary:${TARGET_DIR}/generated \ --js_out=import_style=commonjs,binary:${TARGET_DIR} \
--grpc_out=${TARGET_DIR}/generated \ --grpc_out=${TARGET_DIR} \
--plugin=protoc-gen-grpc=./node_modules/.bin/grpc_tools_node_protoc_plugin \ --plugin=protoc-gen-grpc=./node_modules/.bin/grpc_tools_node_protoc_plugin \
-I ${TARGET_DIR} \ -I ${TARGET_DIR} \
${TARGET_DIR}/*.proto ${TARGET_DIR}/*.proto
./node_modules/.bin/grpc_tools_node_protoc \ ./node_modules/.bin/grpc_tools_node_protoc \
--plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts \ --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts \
--ts_out=${TARGET_DIR}/generated \ --ts_out=${TARGET_DIR} \
-I ${TARGET_DIR} \ -I ${TARGET_DIR} \
${TARGET_DIR}/*.proto ${TARGET_DIR}/*.proto