bootstrap: Make clean
respect dry-run
This commit is contained in:
parent
a2b1646c59
commit
ec33e6414c
@ -85,6 +85,10 @@ fn run(self, builder: &Builder<'_>) -> Self::Output {
|
||||
}
|
||||
|
||||
fn clean_default(build: &Build, all: bool) {
|
||||
if build.config.dry_run() {
|
||||
return;
|
||||
}
|
||||
|
||||
rm_rf("tmp".as_ref());
|
||||
|
||||
if all {
|
||||
|
Loading…
Reference in New Issue
Block a user