Change the path to the contexts protos for node

This commit is contained in:
Djordje Lukic 2020-05-26 10:32:09 +02:00
parent cb14c05e74
commit 7e2d22f5ea
1 changed files with 4 additions and 4 deletions

View File

@ -1,16 +1,16 @@
node_modules/.bin/grpc_tools_node_protoc \
--js_out=import_style=commonjs,binary:./grpc \
--grpc_out=generate_package_definition:./grpc \
-I ../../protos/cli/v1 \
-I ../../protos/contexts/v1 \
-I ../../protos/containers/v1 \
../../protos/cli/v1/*.proto \
../../protos/contexts/v1/*.proto \
../../protos/containers/v1/*.proto
# generate d.ts codes
protoc \
--plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts \
--ts_out=generate_package_definition:./grpc \
-I ../../protos/cli/v1 \
-I ../../protos/contexts/v1 \
-I ../../protos/containers/v1 \
../../protos/cli/v1/*.proto \
../../protos/contexts/v1/*.proto \
../../protos/containers/v1/*.proto