mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-03 15:05:32 +00:00
13 lines
334 B
Rust
13 lines
334 B
Rust
|
use protobuf_codegen::Customize;
|
||
|
|
||
|
fn main() {
|
||
|
println!("cargo:rerun-if-changed=update_metadata.proto");
|
||
|
protobuf_codegen::Codegen::new()
|
||
|
.pure()
|
||
|
.include(".")
|
||
|
.input("update_metadata.proto")
|
||
|
.customize(Customize::default().gen_mod_rs(false))
|
||
|
.out_dir(".")
|
||
|
.run_from_script();
|
||
|
}
|