File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1237,11 +1237,17 @@ function Build-SPMProject {
1237
1237
[string []] $AdditionalArguments
1238
1238
)
1239
1239
1240
+ $ActionForOutput = switch ($Action ) {
1241
+ Build { " Building" }
1242
+ Test { " Testing" }
1243
+ TestParallel { " Testing" }
1244
+ }
1245
+
1240
1246
if ($ToBatch ) {
1241
1247
Write-Output " "
1242
- Write-Output " echo Building '$Src ' to '$Bin ' for arch '$ ( $Arch.LLVMName ) '..."
1248
+ Write-Output " echo $ActionForOutput '$Src ' to '$Bin ' for arch '$ ( $Arch.LLVMName ) '..."
1243
1249
} else {
1244
- Write-Host - ForegroundColor Cyan " [$ ( [DateTime ]::Now.ToString(" yyyy-MM-dd HH:mm:ss" )) ] Building '$Src ' to '$Bin ' for arch '$ ( $Arch.LLVMName ) '..."
1250
+ Write-Host - ForegroundColor Cyan " [$ ( [DateTime ]::Now.ToString(" yyyy-MM-dd HH:mm:ss" )) ] $ActionForOutput '$Src ' to '$Bin ' for arch '$ ( $Arch.LLVMName ) '..."
1245
1251
}
1246
1252
1247
1253
$Stopwatch = [Diagnostics.Stopwatch ]::StartNew()
You can’t perform that action at this time.
0 commit comments