Skip to content

Commit

Permalink
removed Mandatory for -BuildType in lint scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Jun 2, 2022
1 parent dacb545 commit 51016a5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/Lint-TinyORM.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Param(
[Parameter(HelpMessage = 'Clean CMake build (remove everything inside the -BuildPath).')]
[switch] $Clean,

[Parameter(Mandatory, HelpMessage = 'Specifies the CMake build type.')]
[Parameter(HelpMessage = 'Specifies the CMake build type.')]
[ValidateSet('Debug', 'Release', 'RelWithDebInfo', 'MinSizeRel')]
[ValidateNotNullOrEmpty()]
[string] $BuildType = 'Debug'
Expand Down
2 changes: 1 addition & 1 deletion tools/qa-lint-tinyorm-qt5.ps1.example
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Param(
[Parameter(HelpMessage = 'Clean CMake build (remove everything inside the -BuildPath).')]
[switch] $Clean,

[Parameter(Mandatory, HelpMessage = 'Specifies the CMake build type.')]
[Parameter(HelpMessage = 'Specifies the CMake build type.')]
[ValidateSet('Debug', 'Release', 'RelWithDebInfo', 'MinSizeRel')]
[ValidateNotNullOrEmpty()]
[string] $BuildType = 'Debug'
Expand Down
2 changes: 1 addition & 1 deletion tools/qa-lint-tinyorm-qt6.ps1.example
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Param(
[Parameter(HelpMessage = 'Clean CMake build (remove everything inside the -BuildPath).')]
[switch] $Clean,

[Parameter(Mandatory, HelpMessage = 'Specifies the CMake build type.')]
[Parameter(HelpMessage = 'Specifies the CMake build type.')]
[ValidateSet('Debug', 'Release', 'RelWithDebInfo', 'MinSizeRel')]
[ValidateNotNullOrEmpty()]
[string] $BuildType = 'Debug'
Expand Down

0 comments on commit 51016a5

Please sign in to comment.