mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2024-12-27 00:09:40 -05:00
befdf7b33e
* update to monero-javascript v0.7.0 * bump to version v0.0.2 * terminate monero-javascript worker at end of tests
11 lines
353 B
Bash
Executable File
11 lines
353 B
Bash
Executable File
#!/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 |