haveno-ts/bin/build_protobuf.sh
woodser c3c86cc643 fetch and display haveno daemon version in react
enable typescript
add haveno protobuf definitions to ./config
add envoy.yaml to ./config for envoy proxy config
add ./bin/build_protobuf.sh to generate and place grpc client
update readme
2021-04-25 19:58:26 -04:00

8 lines
285 B
Bash
Executable File

#!/bin/sh
cd ./config || exit 1
protoc -I=./ *.proto --js_out=import_style=commonjs:./ --grpc-web_out=import_style=commonjs,mode=grpcwebtext:./ || exit 1
cd ../
mv ./config/grpc_grpc_web_pb.js ./src || exit 1
mv ./config/grpc_pb.js ./src || exit 1
mv ./config/pb_pb.js ./src || exit 1