From d890f27e480cdb37428f1b7c4bb37475ed38348d Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Fri, 15 Jan 2021 07:31:59 +0100 Subject: Reworking pre-compile scripts for Windows (#1594) * Updated pre-compile scripts for OSVVM. * Reworked script for Vivado. * Reworked script for ISE. * Reworked UVVM compile script. Cannot be tested due to missing feature in GHDL see #1593. * Reworked scripts for Altera, Intel and Lattice. * Updated module imports. * Adjusted warnings. * Read OSVVM package files from compile-order file 'osvvm.pro'. * Support OSVVM and OSVVMLibraries as source directory. * Added support for OSVVM models to precompile script. * First update to the pre-compile scripts documentation. * Minimized file headers and redundant documentation. Using PowerShell's feature to document files, functions and modules. * Updated README in precompile scripts directory. * license: update headers of pyGHDL, scripts/windows, libraries/vendors * Fixed ForegroundColor and InvocationName. Co-authored-by: umarcor --- scripts/windows/appveyor/install.ps1 | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'scripts/windows/appveyor/install.ps1') diff --git a/scripts/windows/appveyor/install.ps1 b/scripts/windows/appveyor/install.ps1 index bf780fa19..d377bfe21 100644 --- a/scripts/windows/appveyor/install.ps1 +++ b/scripts/windows/appveyor/install.ps1 @@ -1,13 +1,13 @@ -Write-Host "Installing dependencies ..." -Foreground Yellow -Write-Host "----------------------------------------" -Foreground Yellow -Write-Host "Installing MinGW64 packages ..." -Foreground Yellow +Write-Host "Installing dependencies ..." -ForegroundColor Yellow +Write-Host "----------------------------------------" -ForegroundColor Yellow +Write-Host "Installing MinGW64 packages ..." -ForegroundColor Yellow C:\msys64\usr\bin\pacman -V # list installed packages and versions # C:\msys64\usr\bin\pacman -Q if ($env:BUILD_MINGW -eq "mingw32") -{ Write-Host "Installing MinGW32 packages ..." -Foreground Yellow +{ Write-Host "Installing MinGW32 packages ..." -ForegroundColor Yellow if ($env:BUILD_BACKEND -eq "mcode") { } @@ -16,7 +16,7 @@ if ($env:BUILD_MINGW -eq "mingw32") } } elseif ($env:BUILD_MINGW -eq "mingw64") -{ Write-Host "Installing MinGW64 packages ..." -Foreground Yellow +{ Write-Host "Installing MinGW64 packages ..." -ForegroundColor Yellow if ($env:BUILD_BACKEND -eq "mcode") { } @@ -25,15 +25,15 @@ elseif ($env:BUILD_MINGW -eq "mingw64") } } -Write-Host "Installing NuGet as PackageProvider ..." -Foreground Yellow +Write-Host "Installing NuGet as PackageProvider ..." -ForegroundColor Yellow Install-PackageProvider NuGet -Force Import-PackageProvider NuGet -Force Set-PSRepository -Name PSGallery -InstallationPolicy Trusted -Write-Host "Installing PowerShell modules ..." -Foreground Yellow +Write-Host "Installing PowerShell modules ..." -ForegroundColor Yellow Install-Module Pscx -AllowClobber -#Write-Host "Check all Write-* CmdLets ..." -Foreground Yellow +#Write-Host "Check all Write-* CmdLets ..." -ForegroundColor Yellow #Get-Command -Verb Write | Format-Table exit $LastExitCode -- cgit v1.2.3