mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00

Earlier today I pushed a change that split this code up into multiple repos, but that has proved to complicate things too much. So we're back to a single repo, except the individual submodules are better separated than they were before. The README files need updating again; I will push them out soon. Aside from splitting out the different modules, the sound code has moved from from anki to aqt.
8 lines
280 B
Rust
8 lines
280 B
Rust
use prost_build;
|
|
|
|
fn main() {
|
|
// avoid default OUT_DIR for now, for code completion
|
|
std::env::set_var("OUT_DIR", "src");
|
|
println!("cargo:rerun-if-changed=../proto/backend.proto");
|
|
prost_build::compile_protos(&["../proto/backend.proto"], &["../proto"]).unwrap();
|
|
}
|