build-scripts/windows-buildbot-zipper.bat
author Sam Lantinga <slouken@libsdl.org>
Tue, 19 Dec 2017 10:57:21 -0800
changeset 11782 98ea6e4c0d68
parent 11169 df9e78e15a16
permissions -rw-r--r--
Fixed bug 4004 - iOS: don't hide keyboard on RETURN

Dominik Reichardt

As discussed in 2012 the iOS onscreen keyboard hides when you hit RETURN (see https://discourse.libsdl.org/t/on-screen-keyboard-change/19216).
IMO this is a bad idea to not be able to influence this behavior and just recently this was fixed for Android by adding the hint SDL_HINT_ANDROID_RETURN_HIDES_IME in changeset 11768 0f2fb9ec6ad6.
     1 @echo off
     2 rem just a helper batch file for collecting up files and zipping them.
     3 rem usage: windows-buildbot-zipper.bat <zipfilename>
     4 rem must be run from root of SDL source tree.
     5 
     6 IF EXIST VisualC\Win32\Release GOTO okaywin32dir
     7 echo Please run from root of source tree after doing a Release build.
     8 GOTO done
     9 
    10 :okaywin32dir
    11 IF EXIST VisualC\x64\Release GOTO okaydirs
    12 echo Please run from root of source tree after doing a Release build.
    13 GOTO done
    14 
    15 :okaydirs
    16 erase /q /f /s zipper
    17 IF EXIST zipper GOTO zippermade
    18 mkdir zipper
    19 :zippermade
    20 cd zipper
    21 mkdir SDL
    22 cd SDL
    23 mkdir include
    24 mkdir lib
    25 mkdir lib\win32
    26 mkdir lib\win64
    27 copy ..\..\include\*.h include\
    28 copy ..\..\VisualC\Win32\Release\SDL2.dll lib\win32\
    29 copy ..\..\VisualC\Win32\Release\SDL2.lib lib\win32\
    30 copy ..\..\VisualC\Win32\Release\SDL2main.lib lib\win32\
    31 copy ..\..\VisualC\x64\Release\SDL2.dll lib\win64\
    32 copy ..\..\VisualC\x64\Release\SDL2.lib lib\win64\
    33 copy ..\..\VisualC\x64\Release\SDL2main.lib lib\win64\
    34 cd ..
    35 zip -9r ..\%1 SDL
    36 cd ..
    37 erase /q /f /s zipper
    38 
    39 :done
    40