bootstrap: Make clean respect dry-run

This commit is contained in:
clubby789 2023-05-25 23:32:07 +00:00
parent a2b1646c59
commit ec33e6414c

View File

@ -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 {