mirror of
http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite.git
synced 2025-11-19 23:27:13 +08:00
(tools, client, server) feat: Remove gRPC support, add TCP back and reorganized project
This commit is contained in:
@@ -5,6 +5,11 @@ fn main() -> io::Result<()> {
|
||||
unsafe {
|
||||
env::set_var("PROTOC", "../Tools/ProtoBuf/bin/protoc.exe");
|
||||
}
|
||||
tonic_prost_build::compile_protos("../Tools/ProtoBuf/proto/message.proto")?;
|
||||
|
||||
prost_build::compile_protos(
|
||||
&["../Tools/ProtoBuf/proto/message.proto"],
|
||||
&["../Tools/ProtoBuf/proto"],
|
||||
)?;
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user