fix build.rs watch files (#2072)
This commit is contained in:
parent
131838919e
commit
0f7d38e774
|
@ -1,7 +1,7 @@
|
||||||
use std::fs;
|
use std::fs;
|
||||||
|
|
||||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
println!("cargo:rerun-if-changed=../../proto/**");
|
println!("cargo:rerun-if-changed=../../proto/");
|
||||||
|
|
||||||
fs::create_dir_all("src/v2/pb").unwrap_or(());
|
fs::create_dir_all("src/v2/pb").unwrap_or(());
|
||||||
let mut config = prost_build::Config::new();
|
let mut config = prost_build::Config::new();
|
||||||
|
|
Loading…
Reference in New Issue