list of proto files to build

This commit is contained in:
frelodev 2023-12-28 00:20:45 +01:00
parent 2f1bfab130
commit 3f49730e7e

View file

@ -1,5 +1,8 @@
fn main() -> Result<(), Box<dyn std::error::Error>> {
tonic_build::compile_protos("proto/buffer.proto")?;
tonic_build::compile_protos("proto/cursor.proto")?;
tonic_build::compile_protos("proto/model/cursor.proto")?;
tonic_build::compile_protos("proto/model/user.proto")?;
tonic_build::compile_protos("proto/buffer_service.proto")?;
tonic_build::compile_protos("proto/cursor_service.proto")?;
tonic_build::compile_protos("proto/workspace_service.proto")?;
Ok(())
}