Skip to content

Commit

Permalink
chore(xtask): make clean action delete local cargo root (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
CBenoit authored Dec 6, 2023
1 parent 4a54d78 commit d47f181
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xtask/src/clean.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ pub fn workspace(sh: &Shell) -> anyhow::Result<()> {
sh.remove_path("./web-client/iron-svelte-client/node_modules")?;
println!("Done.");

println!("Remove local cargo root folder…");
sh.remove_path("./.cargo/local_root")?;
println!("Done.");

cmd!(sh, "{CARGO} clean").run()?;

Ok(())
Expand Down

0 comments on commit d47f181

Please sign in to comment.