aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/vendors/shared.psm1
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vendors/shared.psm1')
-rw-r--r--scripts/vendors/shared.psm110
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/vendors/shared.psm1 b/scripts/vendors/shared.psm1
index eb3c4c037..bc6f6f93c 100644
--- a/scripts/vendors/shared.psm1
+++ b/scripts/vendors/shared.psm1
@@ -285,16 +285,16 @@ function Start-PackageCompilation
Write-Host "Compiling library '$Library' ..." -ForegroundColor Yellow
$LibraryDirectory= "$DestinationDirectory/$Library/$VHDLVersion"
- $EnableVerbose -and (Write-Host " Creating library $Library ..." -ForegroundColor Gray ) | Out-Null
- $EnableDebug -and (Write-Host " mkdir $LibraryDirectory" -ForegroundColor DarkGray ) | Out-Null
+ $EnableVerbose -and (Write-Host " Creating library $Library ..." -ForegroundColor Gray ) | Out-Null
+ $EnableDebug -and (Write-Host " mkdir $LibraryDirectory" -ForegroundColor DarkGray ) | Out-Null
mkdir $LibraryDirectory -ErrorAction SilentlyContinue | Out-Null
- $EnableDebug -and (Write-Host " cd $LibraryDirectory" -ForegroundColor DarkGray ) | Out-Null
+ $EnableDebug -and (Write-Host " cd $LibraryDirectory" -ForegroundColor DarkGray ) | Out-Null
cd $LibraryDirectory
$ErrorCount = 0
foreach ($File in $SourceFiles)
- { Write-Host " Analyzing package file '$File'" -ForegroundColor DarkCyan
+ { $EnableVerbose -and (Write-Host " Analyzing package file '$File'" -ForegroundColor DarkCyan ) | Out-Null
$InvokeExpr = "& '$GHDLBinary' -a " + ($Parameters -join " ") + " --work=$Library " + $File + " 2>&1"
- $EnableDebug -and (Write-Host " $InvokeExpr" -ForegroundColor DarkGray ) | Out-Null
+ $EnableDebug -and (Write-Host " $InvokeExpr" -ForegroundColor DarkGray ) | Out-Null
$ErrorRecordFound = Invoke-Expression $InvokeExpr | Restore-NativeCommandStream | Write-ColoredGHDLLine $SuppressWarnings -Indent:"$Indent"
if (($LastExitCode -ne 0) -or $ErrorRecordFound)
{ $ErrorCount += 1