Skip to content

Commit

Permalink
tools: ci: build: enforce some parameter case sensitivity
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienfl-orc committed Nov 9, 2020
1 parent 4455fb5 commit ad6ef3b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/ci/build.ps1
Expand Up @@ -59,19 +59,19 @@ function Build-Orc
[System.IO.DirectoryInfo]
$Output,
[Parameter(Mandatory = $True)]
[ValidateSet('x86', 'x64')]
[ValidateSet('x86', 'x64', IgnoreCase=$false)]
[String[]]
$Architecture,
[Parameter(Mandatory = $False)]
[ValidateSet('vs2017', 'vs2019')]
[String]
$Toolchain = 'vs2019',
[Parameter(Mandatory = $True)]
[ValidateSet('Debug', 'MinSizeRel', 'RelWithDebInfo')]
[ValidateSet('Debug', 'MinSizeRel', 'RelWithDebInfo', IgnoreCase=$false)]
[String[]]
$Configuration,
[Parameter(Mandatory = $False)]
[ValidateSet('static', 'dynamic')]
[ValidateSet('static', 'dynamic', IgnoreCase=$false)]
[String]
$Runtime = 'static',
[Parameter(Mandatory = $False)]
Expand Down

0 comments on commit ad6ef3b

Please sign in to comment.