Skip to content

Commit d7cce94

Browse files
check for missing tools
1 parent e4c2cc8 commit d7cce94

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

build.ps1

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,15 @@ if ($BootstrapBuildEnv) {
9090
}
9191
Write-Host "`n$string`n"
9292
} elseif ($Clean) {
93-
Invoke-Build Clean
93+
if(hasMissingTools) {
94+
Write-Host "You are missing needed tools. Run './build.ps1 -BootstrapBuildEnv' to see what they are."
95+
} else {
96+
Invoke-Build Clean
97+
}
9498
} else {
95-
Invoke-Build Build
99+
if(hasMissingTools) {
100+
Write-Host "You are missing needed tools. Run './build.ps1 -BootstrapBuildEnv' to see what they are."
101+
} else {
102+
Invoke-Build Build
103+
}
96104
}

0 commit comments

Comments
 (0)