anki/rs/ankirs/build.rs
2019-12-25 08:59:33 +10:00

8 lines
224 B
Rust

use prost_build;
fn main() {
// avoid default OUT_DIR for now, for code completion
std::env::set_var("OUT_DIR", "src");
prost_build::compile_protos(&["../../proto/backend.proto"], &["../../proto/"]).unwrap();
}