mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-08-09 15:02:53 -04:00
export protobuf types
This commit is contained in:
parent
5d89d3973f
commit
e64e9b2ca7
18 changed files with 70646 additions and 41131 deletions
11
scripts/build_dist.sh
Executable file
11
scripts/build_dist.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
# run typescript compiler
|
||||
tsc
|
||||
|
||||
# copy protobuf models to dist
|
||||
mkdir -p dist/protobuf || exit 1
|
||||
cp src/protobuf/grpc_pb.d.ts dist/protobuf/grpc_pb.d.ts || exit 1
|
||||
cp src/protobuf/grpc_pb.js dist/protobuf/grpc_pb.js || exit 1
|
||||
cp src/protobuf/pb_pb.d.ts dist/protobuf/pb_pb.d.ts || exit 1
|
||||
cp src/protobuf/pb_pb.js dist/protobuf/pb_pb.js || exit 1
|
Loading…
Add table
Add a link
Reference in a new issue