clean build directory after building to prevent cargo complaining
This commit is contained in:
parent
2d4801d87d
commit
b312bb86b8
@ -52,4 +52,9 @@ fn main() {
|
||||
format!("{}/libwhisper.a", env::var("OUT_DIR").unwrap()),
|
||||
)
|
||||
.expect("Failed to copy libwhisper.a");
|
||||
// clean the whisper build directory to prevent Cargo from complaining during crate publish
|
||||
std::process::Command::new("make")
|
||||
.arg("clean")
|
||||
.status()
|
||||
.expect("Failed to clean whisper build directory");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user