bootstrap: Make clean respect dry-run
This commit is contained in:
parent
a2b1646c59
commit
ec33e6414c
1 changed files with 4 additions and 0 deletions
|
|
@ -85,6 +85,10 @@ clean_crate_tree! {
|
|||
}
|
||||
|
||||
fn clean_default(build: &Build, all: bool) {
|
||||
if build.config.dry_run() {
|
||||
return;
|
||||
}
|
||||
|
||||
rm_rf("tmp".as_ref());
|
||||
|
||||
if all {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue