From d1fb7f9772ec1a4fafb39c75a52ef064b6467398 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Fri, 14 Oct 2016 14:17:13 +0200 Subject: Windows Build Flow: Fixed error of premature module unload. --- dist/mcode/windows/compile-ghdl.ps1 | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'dist/mcode/windows/compile-ghdl.ps1') diff --git a/dist/mcode/windows/compile-ghdl.ps1 b/dist/mcode/windows/compile-ghdl.ps1 index 5017b1fee..657023d03 100644 --- a/dist/mcode/windows/compile-ghdl.ps1 +++ b/dist/mcode/windows/compile-ghdl.ps1 @@ -46,29 +46,29 @@ [CmdletBinding()] param( # Display this help" - [switch]$Help = $false, + [switch]$Help = $false, # Slean up all files and directories - [switch]$Clean = $false, - [switch]$Clean_GHDL = $false, + [switch]$Clean = $false, + [switch]$Clean_GHDL = $false, # Compile all targets - [switch]$All = $false, + [switch]$All = $false, # Compile main targets - [switch]$Compile = $false, + [switch]$Compile = $false, # Compile GHDL (simulator) - [switch]$Compile_GHDL = $false, + [switch]$Compile_GHDL = $false, # Undocumented - [switch]$Test = $false, + [switch]$Test = $false, # Undocumented - [switch]$Test_GHDL = $false, + [switch]$Test_GHDL = $false, # Build options # Build a release version - [switch]$Release = $false, + [switch]$Release = $false, # Set the back-end - [string]$Backend = "mcode", + [string]$Backend = "mcode", # Reduced messages [switch]$Quiet = $false, @@ -97,7 +97,7 @@ $EnableDebug = $PSCmdlet.MyInvocation.BoundParameters["Debug"].IsPresent # Write-Host ("--> " + $PSCommandPath + " " + $PSBoundParameters + " " + $PSCmdlet + " " + $PSDefaultParameterValues) # load modules from GHDL's 'libraries' directory -Import-Module $PSScriptRoot\shared.psm1 -Verbose:$false -ArgumentList "$Script_WorkingDir" +Import-Module $PSScriptRoot\shared.psm1 -Verbose:$false -ArgumentList "$Script_WorkingDir", $Hosted Import-Module $PSScriptRoot\targets.psm1 -Verbose:$false # Display help if no command was selected -- cgit v1.2.3