summaryrefslogtreecommitdiffstats
path: root/Server/Install/PackWindowsExecutables.cmd
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2019-12-28 12:53:37 +0100
committerGitHub <noreply@github.com>2019-12-28 12:53:37 +0100
commitcc72b204b2bfcf720d6520783290c3fd30a01ea2 (patch)
treebf0d2f686b4bd45390392788e9e642384fba3d6f /Server/Install/PackWindowsExecutables.cmd
parentWebAdmin improvements (#4433) (diff)
downloadcuberite-cc72b204b2bfcf720d6520783290c3fd30a01ea2.tar
cuberite-cc72b204b2bfcf720d6520783290c3fd30a01ea2.tar.gz
cuberite-cc72b204b2bfcf720d6520783290c3fd30a01ea2.tar.bz2
cuberite-cc72b204b2bfcf720d6520783290c3fd30a01ea2.tar.lz
cuberite-cc72b204b2bfcf720d6520783290c3fd30a01ea2.tar.xz
cuberite-cc72b204b2bfcf720d6520783290c3fd30a01ea2.tar.zst
cuberite-cc72b204b2bfcf720d6520783290c3fd30a01ea2.zip
Diffstat (limited to 'Server/Install/PackWindowsExecutables.cmd')
-rw-r--r--Server/Install/PackWindowsExecutables.cmd21
1 files changed, 21 insertions, 0 deletions
diff --git a/Server/Install/PackWindowsExecutables.cmd b/Server/Install/PackWindowsExecutables.cmd
new file mode 100644
index 000000000..8993ab3ed
--- /dev/null
+++ b/Server/Install/PackWindowsExecutables.cmd
@@ -0,0 +1,21 @@
+@echo off
+:: This script is run in the Appveyor CI builds to pack up the artifacts
+:: It is expected to be run with the Server folder as the current working dir
+@echo on
+
+del Cuberite.zip
+del PDBs.zip
+del ManualAPI.zip
+del AutoAPI.zip
+rd /q /s Plugins\ManualApiDump
+7z a -tzip -y Cuberite.zip -scsWIN -i@Install\WindowsExecutables.list -xr!*.git*
+7z a -tzip -y PDBs.zip -scsWIN -i@Install/WindowsPDBs.list -xr!*.git*
+git clone https://github.com/madmaxoft/ManualApiDump Plugins/ManualApiDump
+echo load ManualApiDump 1>cmds.txt
+echo manualapi 1>>cmds.txt
+echo load APIDump 1>>cmds.txt
+echo api 1>>cmds.txt
+echo stop 1>>cmds.txt
+Cuberite --port 32767 0<cmds.txt
+7z a -tzip -y ManualAPI.zip -scsWIN "ManualAPI.lua"
+7z a -tzip -y AutoAPI.zip -scsWIN "BindingsDocs\*.lua" -x!_raw.lua