mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-05-02 22:55:12 -04:00
add dockerize and add project on Github CI/CD
This commit is contained in:
parent
28d119c681
commit
c81f309fdd
11 changed files with 381 additions and 55 deletions
|
@ -4,3 +4,12 @@
|
|||
mkdir -p ./src/protobuf
|
||||
cd ./src/protobuf || exit 1
|
||||
protoc -I=../../../haveno/proto/src/main/proto/ ../../../haveno/proto/src/main/proto/*.proto --js_out=import_style=commonjs,binary:./ --grpc-web_out=import_style=typescript,mode=grpcwebtext:./ || exit 1
|
||||
|
||||
# run typescript compiler
|
||||
tsc
|
||||
|
||||
# copy protobuf models to dist
|
||||
cp ./grpc_pb.d.ts ../../dist/protobuf/grpc_pb.d.ts || exit 1
|
||||
cp ./grpc_pb.js ../../dist/protobuf/grpc_pb.js || exit 1
|
||||
cp ./pb_pb.d.ts ../../dist/protobuf/pb_pb.d.ts || exit 1
|
||||
cp ./pb_pb.js ../../dist/protobuf/pb_pb.js || exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue