piratewallet-light-cli/lib/build.rs
2019-12-30 21:09:48 -08:00

11 lines
313 B
Rust

fn main() -> Result<(), Box<dyn std::error::Error>> {
tonic_build::configure()
.build_server(false)
.compile(
&["proto/service.proto", "proto/compact_formats.proto"],
&["proto"],
)?;
println!("cargo:rerun-if-changed=proto/service.proto");
Ok(())
}