code-server/packages/server/scripts/generate_proto.sh
2019-02-05 11:15:44 -06:00

3 lines
200 B
Bash

#!/bin/bash
protoc --plugin="protoc-gen-ts=./node_modules/.bin/protoc-gen-ts" --js_out="import_style=commonjs,binary:./src/proto" --ts_out="./src/proto" ./src/proto/*.proto --proto_path="./src/proto"