Skip to content

Commit

Permalink
delete directory before copy
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Dec 9, 2023
1 parent 45eb307 commit c5c94fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kitsune/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ fn main() -> Result<(), Box<dyn Error>> {
let assets_path = Utf8PathBuf::from("./assets").canonicalize_utf8()?;
let prepared_assets_path = Utf8PathBuf::from("./assets-dist").canonicalize_utf8()?;

dir::remove(&prepared_assets_path)?;

let copy_options = CopyOptions {
overwrite: true,
content_only: true,
Expand Down

0 comments on commit c5c94fb

Please sign in to comment.