Switch from not_bash to xshell

This commit is contained in:
Aleksey Kladov 2020-10-16 19:46:03 +02:00
parent f0412da4a2
commit 49a90d4c31
14 changed files with 181 additions and 325 deletions

View file

@ -4,8 +4,7 @@ use std::{
};
use anyhow::Result;
use crate::not_bash::{fs2, rm_rf};
use xshell::rm_rf;
pub struct PreCacheCmd;
@ -26,7 +25,7 @@ impl PreCacheCmd {
}
}
fs2::remove_file("./target/.rustc_info.json")?;
rm_rf("./target/.rustc_info.json")?;
let to_delete = read_dir("./crates", FileType::is_dir)?
.into_iter()