windows-buildbot-zipper.bat: Attempt to update for new buildbot.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 19 May 2020 02:56:02 -0400
changeset 138257c2c79e87060
parent 13824 1c789a0308ec
child 13826 00960a08b393
windows-buildbot-zipper.bat: Attempt to update for new buildbot.
build-scripts/windows-buildbot-zipper.bat
     1.1 --- a/build-scripts/windows-buildbot-zipper.bat	Tue May 19 01:19:52 2020 -0400
     1.2 +++ b/build-scripts/windows-buildbot-zipper.bat	Tue May 19 02:56:02 2020 -0400
     1.3 @@ -1,38 +1,26 @@
     1.4  @echo off
     1.5  rem just a helper batch file for collecting up files and zipping them.
     1.6 -rem usage: windows-buildbot-zipper.bat <zipfilename>
     1.7 +rem usage: windows-buildbot-zipper.bat <target> <slndir> <zipfilename>
     1.8  rem must be run from root of SDL source tree.
     1.9  
    1.10 -IF EXIST VisualC\Win32\Release GOTO okaywin32dir
    1.11 +IF EXIST %2\%1\Release GOTO okaydir
    1.12  echo Please run from root of source tree after doing a Release build.
    1.13  GOTO done
    1.14  
    1.15 -:okaywin32dir
    1.16 -IF EXIST VisualC\x64\Release GOTO okaydirs
    1.17 -echo Please run from root of source tree after doing a Release build.
    1.18 -GOTO done
    1.19 -
    1.20 -:okaydirs
    1.21 +:okaydir
    1.22  erase /q /f /s zipper
    1.23  IF EXIST zipper GOTO zippermade
    1.24  mkdir zipper
    1.25  :zippermade
    1.26 -cd zipper
    1.27 -mkdir SDL
    1.28 -cd SDL
    1.29 -mkdir include
    1.30 -mkdir lib
    1.31 -mkdir lib\win32
    1.32 -mkdir lib\win64
    1.33 -copy ..\..\include\*.h include\
    1.34 -copy ..\..\VisualC\Win32\Release\SDL2.dll lib\win32\
    1.35 -copy ..\..\VisualC\Win32\Release\SDL2.lib lib\win32\
    1.36 -copy ..\..\VisualC\Win32\Release\SDL2main.lib lib\win32\
    1.37 -copy ..\..\VisualC\x64\Release\SDL2.dll lib\win64\
    1.38 -copy ..\..\VisualC\x64\Release\SDL2.lib lib\win64\
    1.39 -copy ..\..\VisualC\x64\Release\SDL2main.lib lib\win64\
    1.40 -cd ..
    1.41 -zip -9r ..\%1 SDL
    1.42 +mkdir zipper\SDL
    1.43 +mkdir zipper\SDL\include
    1.44 +mkdir zipper\SDL\lib
    1.45 +copy include\*.h include\
    1.46 +copy %2\%1\Release\SDL2.dll zipper\SDL\lib\
    1.47 +copy %2\%1\Release\SDL2.lib zipper\SDL\lib\
    1.48 +copy %2\%1\Release\SDL2main.lib zipper\SDL\lib\
    1.49 +cd zipper
    1.50 +zip -9r ..\%3 SDL
    1.51  cd ..
    1.52  erase /q /f /s zipper
    1.53