forked from gui-cs/Terminal.Gui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTerminal.Gui.PowerShell.Build.psm1
More file actions
32 lines (30 loc) · 1.11 KB
/
Terminal.Gui.PowerShell.Build.psm1
File metadata and controls
32 lines (30 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<#
.SYNOPSIS
Builds the Terminal.Gui library.
.DESCRIPTION
Builds the Terminal.Gui library.
Optional parameter sets are available to customize the build.
.PARAMETER versionBase
The base version for the Terminal.Gui library.
#>
Function Build-TerminalGui {
[CmdletBinding(SupportsShouldProcess, PositionalBinding=$false, DefaultParameterSetName="Basic", ConfirmImpact="Medium")]
[OutputType([bool],[PSObject])]
param(
[Parameter(Mandatory=$true)]
[Version]$versionBase,
[Parameter(Mandatory=$true, ParameterSetName="Custom")]
[switch]$Custom,
[Parameter(Mandatory=$false, ParameterSetName="Custom")]
[ValidateSet("Debug", "Release")]
[string]$slnBuildConfiguration = "Release",
[Parameter(Mandatory=$false, ParameterSetName="Custom")]
[ValidateSet("Any CPU", "x86"<#, "x64" #>)]
[string]$slnBuildPlatform = "Any CPU"
)
if(!$PSCmdlet.ShouldProcess("Building in $slnBuildConfiguration configuration for $slnBuildPlatform", "Terminal.Gui", "BUILDING")) {
return $null
}
Write-Host NOT IMPLEMENTED. No Action has been taken.
return $false
}