Skip to content

Commit 5523277

Browse files
committed
Made SkipTests in Build.ps1 a switch parameter.
1 parent 147237e commit 5523277

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Build.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[CmdletBinding()]
22
param (
33
[Parameter(Mandatory = $false)]
4-
[System.Boolean]
5-
$SkipTests = $false
4+
[Switch]
5+
$SkipTests
66
)
77

88
echo "build: Build started"
@@ -32,7 +32,7 @@ foreach ($src in ls src/*) {
3232
} else {
3333
& dotnet pack -c Release -o ..\..\artifacts
3434
}
35-
if($LASTEXITCODE -ne 0) { exit 1 }
35+
if($LASTEXITCODE -ne 0) { exit 1 }
3636

3737
Pop-Location
3838
}

0 commit comments

Comments
 (0)