move protobufs

This commit is contained in:
Christien Rioux 2023-07-08 10:59:37 -04:00
parent 776976c7a7
commit 9eff8f0cb4
8 changed files with 11 additions and 5 deletions

View File

@ -1,4 +1,6 @@
#!/bin/bash
set -e
dart run build_runner build
protoc --dart_out=lib/entities proto/veilidchat.proto
pushd lib/entities > /dev/null
protoc --dart_out=proto veilidchat.proto
popd > /dev/null

View File

@ -0,0 +1,3 @@
export 'identity.dart';
export 'local_account.dart';
export 'preferences.dart';

1
lib/entities/proto.dart Normal file
View File

@ -0,0 +1 @@
export 'proto/veilidchat.pb.dart';

View File

@ -1,6 +1,6 @@
//
// Generated code. Do not modify.
// source: proto/veilidchat.proto
// source: veilidchat.proto
//
// @dart = 2.12

View File

@ -1,6 +1,6 @@
//
// Generated code. Do not modify.
// source: proto/veilidchat.proto
// source: veilidchat.proto
//
// @dart = 2.12

View File

@ -1,6 +1,6 @@
//
// Generated code. Do not modify.
// source: proto/veilidchat.proto
// source: veilidchat.proto
//
// @dart = 2.12

View File

@ -1,6 +1,6 @@
//
// Generated code. Do not modify.
// source: proto/veilidchat.proto
// source: veilidchat.proto
//
// @dart = 2.12