Skip to content

Commit 9196c56

Browse files
committed
Build check
1 parent 9938afd commit 9196c56

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

configure.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ param (
33
[String]$release = "Debug"
44
)
55

6+
if ((${release} -ne "Release") -and (${release} -ne "Debug")) {
7+
Write-Host "[x] Build mode must be Release or Debug"
8+
Exit
9+
}
10+
611
# Create build directory if it doesn't exist
712
if (-not (Test-Path -Path "build")) {
813
New-Item -ItemType Directory -Path "build"

0 commit comments

Comments
 (0)