diff options
Diffstat (limited to 'packaging/windows/build.ps1')
-rw-r--r-- | packaging/windows/build.ps1 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/packaging/windows/build.ps1 b/packaging/windows/build.ps1 new file mode 100644 index 0000000000..f656ed5686 --- /dev/null +++ b/packaging/windows/build.ps1 @@ -0,0 +1,16 @@ +# Run the build + +#Requires -Version 4.0 + +$ErrorActionPreference = "Stop" + +. "$PSScriptRoot\functions.ps1" + +$msysbash = Get-MSYS2Bash "$msysprefix" +$env:CHERE_INVOKING = 'yes' + +& $msysbash -l "$PSScriptRoot\compile-on-windows.sh" + +if ($LastExitcode -ne 0) { + exit 1 +} |