diff --git a/build.ps1 b/build.ps1 index c6c91b2527..ffbd272d12 100644 --- a/build.ps1 +++ b/build.ps1 @@ -238,5 +238,11 @@ $cakeArguments += $ScriptArgs # Start Cake Write-Host "Running build script..." -&$CAKE_EXE $cakeArguments -exit $LASTEXITCODE + +& "$CAKE_EXE" ./build.cake --bootstrap +if ($LASTEXITCODE -eq 0) +{ + & "$CAKE_EXE" $cakeArguments +} + +exit $LASTEXITCODE \ No newline at end of file