First push
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
pub fn main() {
|
||||
let proto_file = "StarRail.proto";
|
||||
if std::path::Path::new(proto_file).exists() {
|
||||
println!("cargo:rerun-if-changed={proto_file}");
|
||||
|
||||
prost_build::Config::new()
|
||||
.out_dir("out/")
|
||||
.compile_protos(&[proto_file], &["."])
|
||||
.unwrap();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user