Skip to content

Commit

Permalink
update windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
admercs committed Feb 19, 2024
1 parent 99d392a commit 69dc346
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion scripts/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function Invoke-Fail {
$RemoveDirs = $false
)
Set-Location $ProjectDir
if $RemoveDirs -eq $true { Remove-Directories }
if ($RemoveDirs) -eq $true { Remove-Directories }
Write-Error 'Error: Build failed. Exiting Program.' -ErrorAction Stop
}

Expand Down
2 changes: 1 addition & 1 deletion scripts/test_cmake.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function Invoke-Fail {
$RemoveDirs = $false
)
Set-Location $ProjectDir
if $RemoveDirs -eq $true { Remove-Directories }
if ($RemoveDirs) -eq $true { Remove-Directories }
Write-Error 'Error: Build failed. Exiting Program.' -ErrorAction Stop
}

Expand Down
2 changes: 1 addition & 1 deletion scripts/test_eigen.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function Invoke-Fail {
$RemoveDirs = $false
)
Set-Location $ProjectDir
if $RemoveDirs -eq $true { Remove-Directories }
if ($RemoveDirs) -eq $true { Remove-Directories }
Write-Error 'Error: Build failed. Exiting Program.' -ErrorAction Stop
}

Expand Down
3 changes: 2 additions & 1 deletion scripts/test_rpclib.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ function Invoke-Fail {
$RemoveDirs = $false
)
Set-Location $ProjectDir
if $RemoveDirs -eq $true { Remove-Directories }
if ($RemoveDirs) -eq $true { Remove-Directories }
Write-Error 'Error: Build failed. Exiting Program.' -ErrorAction Stop
}

function Get-RpcLib {

Write-Output ''
Expand Down
2 changes: 1 addition & 1 deletion scripts/test_unrealasset.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function Invoke-Fail {
$RemoveDirs = $false
)
Set-Location $ProjectDir
if $RemoveDirs -eq $true { Remove-Directories }
if ($RemoveDirs) -eq $true { Remove-Directories }
Write-Error 'Error: Build failed. Exiting Program.' -ErrorAction Stop
}

Expand Down
3 changes: 2 additions & 1 deletion scripts/test_visualstudio.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ function Invoke-Fail {
$RemoveDirs = $false
)
Set-Location $ProjectDir
if $RemoveDirs -eq $true { Remove-Directories }
if ($RemoveDirs) -eq $true { Remove-Directories }
Write-Error 'Error: Build failed. Exiting Program.' -ErrorAction Stop
}

function Get-VsInstance {
param(
[Parameter()]
Expand Down

0 comments on commit 69dc346

Please sign in to comment.