Move codegen to build and remove macros
This commit is contained in:
@@ -2,12 +2,14 @@ fn main() {
|
||||
tonic_build::compile_protos(
|
||||
&["proto/helloworld/helloworld.proto"],
|
||||
&["proto/helloworld"],
|
||||
"helloworld",
|
||||
)
|
||||
.unwrap();
|
||||
|
||||
tonic_build::compile_protos(
|
||||
&["proto/routeguide/route_guide.proto"],
|
||||
&["proto/routeguide"],
|
||||
"routeguide",
|
||||
)
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user