Move codegen to build and remove macros

This commit is contained in:
Lucio Franco
2019-09-06 15:19:18 -04:00
parent 295e7321b9
commit d0cfafafc6
20 changed files with 916 additions and 615 deletions
+2
View File
@@ -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();
}