mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-08-06 21:44:41 -04:00
11 lines
No EOL
353 B
Bash
Executable file
11 lines
No EOL
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 |