mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-22 18:55:42 +00:00
windows-buildbot-zipper.bat: Attempt to update for new buildbot.
This commit is contained in:
parent
863776f8dd
commit
a1d7410ff8
|
@ -1,38 +1,26 @@
|
||||||
@echo off
|
@echo off
|
||||||
rem just a helper batch file for collecting up files and zipping them.
|
rem just a helper batch file for collecting up files and zipping them.
|
||||||
rem usage: windows-buildbot-zipper.bat <zipfilename>
|
rem usage: windows-buildbot-zipper.bat <target> <slndir> <zipfilename>
|
||||||
rem must be run from root of SDL source tree.
|
rem must be run from root of SDL source tree.
|
||||||
|
|
||||||
IF EXIST VisualC\Win32\Release GOTO okaywin32dir
|
IF EXIST %2\%1\Release GOTO okaydir
|
||||||
echo Please run from root of source tree after doing a Release build.
|
echo Please run from root of source tree after doing a Release build.
|
||||||
GOTO done
|
GOTO done
|
||||||
|
|
||||||
:okaywin32dir
|
:okaydir
|
||||||
IF EXIST VisualC\x64\Release GOTO okaydirs
|
|
||||||
echo Please run from root of source tree after doing a Release build.
|
|
||||||
GOTO done
|
|
||||||
|
|
||||||
:okaydirs
|
|
||||||
erase /q /f /s zipper
|
erase /q /f /s zipper
|
||||||
IF EXIST zipper GOTO zippermade
|
IF EXIST zipper GOTO zippermade
|
||||||
mkdir zipper
|
mkdir zipper
|
||||||
:zippermade
|
:zippermade
|
||||||
cd zipper
|
mkdir zipper\SDL
|
||||||
mkdir SDL
|
mkdir zipper\SDL\include
|
||||||
cd SDL
|
mkdir zipper\SDL\lib
|
||||||
mkdir include
|
copy include\*.h include\
|
||||||
mkdir lib
|
copy %2\%1\Release\SDL2.dll zipper\SDL\lib\
|
||||||
mkdir lib\win32
|
copy %2\%1\Release\SDL2.lib zipper\SDL\lib\
|
||||||
mkdir lib\win64
|
copy %2\%1\Release\SDL2main.lib zipper\SDL\lib\
|
||||||
copy ..\..\include\*.h include\
|
cd zipper
|
||||||
copy ..\..\VisualC\Win32\Release\SDL2.dll lib\win32\
|
zip -9r ..\%3 SDL
|
||||||
copy ..\..\VisualC\Win32\Release\SDL2.lib lib\win32\
|
|
||||||
copy ..\..\VisualC\Win32\Release\SDL2main.lib lib\win32\
|
|
||||||
copy ..\..\VisualC\x64\Release\SDL2.dll lib\win64\
|
|
||||||
copy ..\..\VisualC\x64\Release\SDL2.lib lib\win64\
|
|
||||||
copy ..\..\VisualC\x64\Release\SDL2main.lib lib\win64\
|
|
||||||
cd ..
|
|
||||||
zip -9r ..\%1 SDL
|
|
||||||
cd ..
|
cd ..
|
||||||
erase /q /f /s zipper
|
erase /q /f /s zipper
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue