From 6956cc80516f1dfc74a06a75b068437afba036ed Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 3 Dec 2015 04:48:15 +0100 Subject: Add vendor specific library compile scripts for linux. Merge branch from Paebbels. --- libraries/vendors/compile-vunit.ps1 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'libraries/vendors/compile-vunit.ps1') diff --git a/libraries/vendors/compile-vunit.ps1 b/libraries/vendors/compile-vunit.ps1 index c1ff55e..53c104b 100644 --- a/libraries/vendors/compile-vunit.ps1 +++ b/libraries/vendors/compile-vunit.ps1 @@ -49,9 +49,17 @@ param( [switch]$Clean = $false, #Skip warning messages. (Show errors only.) - [switch]$SuppressWarnings = $false + [switch]$SuppressWarnings = $false, + + # Show the embedded help page(s) + [switch]$Help = $false ) +if ($Help) +{ Get-Help $MYINVOCATION.InvocationName -Detailed + return +} + # --------------------------------------------- # save working directory $WorkingDir = Get-Location @@ -141,7 +149,7 @@ if (-not $StopCompiling) } Write-Host "--------------------------------------------------------------------------------" -Write-Host "Compiling VUnit libraries " -NoNewline +Write-Host "Compiling VUnit library " -NoNewline if ($StopCompiling) { Write-Host "[FAILED]" -ForegroundColor Red } else -- cgit