Files
citygen/server/build.rs
T

6 lines
239 B
Rust

fn main() {
std::env::set_var("PROTOC", protoc_bin_vendored::protoc_bin_path().unwrap());
prost_build::compile_protos(&["../proto/city.proto"], &["../proto"]).unwrap();
println!("cargo:rerun-if-changed=../proto/city.proto");
}