Files
tonic/interop/build.rs
T
2020-03-29 12:57:11 -04:00

9 lines
233 B
Rust

fn main() {
let proto = "proto/grpc/testing/test.proto";
tonic_build::compile_protos(proto).unwrap();
// prevent needing to rebuild if files (or deps) haven't changed
println!("cargo:rerun-if-changed={}", proto);
}