Skip to content

Commit

Permalink
Merge pull request ggerganov#64 from chrisrude/master
Browse files Browse the repository at this point in the history
don't remove bindings/javascript/package.json during build
  • Loading branch information
tazz4843 committed Jun 6, 2023
2 parents 9cffd74 + 46d8f47 commit f1436c0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ fn main() {
// clean the whisper build directory to prevent Cargo from complaining during crate publish
env::set_current_dir("..").expect("Unable to change directory to whisper.cpp");
_ = std::fs::remove_dir_all("build");
// for whatever reason this file is generated during build and triggers cargo complaining
_ = std::fs::remove_file("bindings/javascript/package.json");
}

// From https://github.com/alexcrichton/cc-rs/blob/fba7feded71ee4f63cfe885673ead6d7b4f2f454/src/lib.rs#L2462
Expand Down

0 comments on commit f1436c0

Please sign in to comment.