veilidchat/build.sh

16 lines
566 B
Bash
Raw Normal View History

2023-07-06 22:52:02 -04:00
#!/bin/bash
set -e
2024-01-04 22:29:43 -05:00
2024-02-11 23:18:20 -05:00
pushd packages/async_tools > /dev/null
./build.sh
popd > /dev/null
2024-01-04 22:29:43 -05:00
pushd packages/veilid_support > /dev/null
./build.sh
popd > /dev/null
2023-10-10 10:42:00 -04:00
dart run build_runner build --delete-conflicting-outputs
2023-09-26 18:46:02 -04:00
2024-02-11 23:18:20 -05:00
protoc --dart_out=lib/proto -I packages/veilid_support/lib/proto -I packages/veilid_support/lib/dht_support/proto -I lib/proto veilidchat.proto
sed -i '' 's/dht.pb.dart/package:veilid_support\/proto\/dht.pb.dart/g' lib/proto/veilidchat.pb.dart
sed -i '' 's/veilid.pb.dart/package:veilid_support\/proto\/veilid.pb.dart/g' lib/proto/veilidchat.pb.dart