aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/windows/appveyor/install.ps1
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-01-15 07:31:59 +0100
committerGitHub <noreply@github.com>2021-01-15 07:31:59 +0100
commitd890f27e480cdb37428f1b7c4bb37475ed38348d (patch)
treeef94e9ac91446f661ede0db86cb295e9ec903477 /scripts/windows/appveyor/install.ps1
parent4868294436574660552ccef50a5b0849559393de (diff)
downloadghdl-d890f27e480cdb37428f1b7c4bb37475ed38348d.tar.gz
ghdl-d890f27e480cdb37428f1b7c4bb37475ed38348d.tar.bz2
ghdl-d890f27e480cdb37428f1b7c4bb37475ed38348d.zip
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 <unai.martinezcorral@ehu.eus>
Diffstat (limited to 'scripts/windows/appveyor/install.ps1')
-rw-r--r--scripts/windows/appveyor/install.ps116
1 files changed, 8 insertions, 8 deletions
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