clean build directory after building to prevent cargo complaining
This commit is contained in:
parent
2d4801d87d
commit
b312bb86b8
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue