mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Added a script to handle packing up Windows builds for the buildbot.
This commit is contained in:
parent
623b9d6d91
commit
5789cb4a3b
31
build-scripts/windows-buildbot-zipper.bat
Normal file
31
build-scripts/windows-buildbot-zipper.bat
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
@echo off
|
||||||
|
rem just a helper batch file for collecting up files and zipping them.
|
||||||
|
rem usage: windows-buildbot-zipper.bat <zipfilename>
|
||||||
|
rem must be run from root of SDL source tree.
|
||||||
|
|
||||||
|
IF EXIST VisualC\SDL\Win32\Release GOTO okaydir
|
||||||
|
echo Please run from root of source tree after doing a Release build.
|
||||||
|
GOTO done
|
||||||
|
|
||||||
|
:okaydir
|
||||||
|
erase /q /f /s zipper
|
||||||
|
IF EXIST zipper GOTO zippermade
|
||||||
|
mkdir zipper
|
||||||
|
:zippermade
|
||||||
|
cd zipper
|
||||||
|
mkdir SDL
|
||||||
|
cd SDL
|
||||||
|
mkdir include
|
||||||
|
mkdir lib
|
||||||
|
mkdir lib\win32
|
||||||
|
copy ..\..\include\*.h include\
|
||||||
|
copy ..\..\VisualC\SDL\Win32\Release\SDL2.dll lib\win32\
|
||||||
|
copy ..\..\VisualC\SDL\Win32\Release\SDL2.lib lib\win32\
|
||||||
|
copy ..\..\VisualC\SDLmain\Win32\Release\SDL2main.lib lib\win32\
|
||||||
|
cd ..
|
||||||
|
zip -9r ..\%1 SDL
|
||||||
|
cd ..
|
||||||
|
erase /q /f /s zipper
|
||||||
|
|
||||||
|
:done
|
||||||
|
|
Loading…
Reference in New Issue
Block a user