summaryrefslogtreecommitdiffstats
path: root/packaging/windows/package.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/windows/package.ps1')
-rw-r--r--packaging/windows/package.ps116
1 files changed, 16 insertions, 0 deletions
diff --git a/packaging/windows/package.ps1 b/packaging/windows/package.ps1
new file mode 100644
index 000000000..828e105f1
--- /dev/null
+++ b/packaging/windows/package.ps1
@@ -0,0 +1,16 @@
+# Package the build
+
+#Requires -Version 4.0
+
+$ErrorActionPreference = "Stop"
+
+. "$PSScriptRoot\functions.ps1"
+
+$msysbash = Get-MSYS2Bash "$msysprefix"
+$env:CHERE_INVOKING = 'yes'
+
+& $msysbash -l "$PSScriptRoot\package-windows.sh"
+
+if ($LastExitcode -ne 0) {
+ exit 1
+}