diff --git a/kitsune/build.rs b/kitsune/build.rs index c42d33c73..6081c42ac 100644 --- a/kitsune/build.rs +++ b/kitsune/build.rs @@ -25,6 +25,8 @@ fn main() -> Result<(), Box> { 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,