mirror of
https://github.com/sinbad/UEScripts.git
synced 2025-02-23 21:15:24 +00:00
Check result from build script
This commit is contained in:
parent
42b1ef5eea
commit
3863f85003
@ -72,6 +72,10 @@ try {
|
|||||||
# Use Invoke-Expression so we can use a string as options
|
# Use Invoke-Expression so we can use a string as options
|
||||||
Invoke-Expression "&'$PSScriptRoot/ue4-build.ps1' dev $args"
|
Invoke-Expression "&'$PSScriptRoot/ue4-build.ps1' dev $args"
|
||||||
|
|
||||||
|
if ($LASTEXITCODE -ne 0) {
|
||||||
|
throw "Build process failed, see above"
|
||||||
|
}
|
||||||
|
|
||||||
Write-Output "-- Get Latest finished OK --"
|
Write-Output "-- Get Latest finished OK --"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user