| 12 |
echo ======= |
echo ======= |
| 13 |
echo 1. force download and rebuild libs / rebuild Tera Term, installer, archive |
echo 1. force download and rebuild libs / rebuild Tera Term, installer, archive |
| 14 |
echo 2. download and build libs / rebuild Tera Term, installer, archive |
echo 2. download and build libs / rebuild Tera Term, installer, archive |
| 15 |
echo 3. download and build libs |
echo 3. download and build libs / build Tera Term, installer, archive |
| 16 |
echo 4. build libs and rebuild Tera Term, installer, archive (for Release build) |
echo 4. download and build libs |
| 17 |
echo 5. build libs and Tera Term (for Normal build, snapshot) |
echo 5. build libs / rebuild Tera Term, installer, archive |
| 18 |
|
echo 6. build libs / build Tera Term, installer, archive |
| 19 |
echo 7. exec cmd.exe |
echo 7. exec cmd.exe |
| 20 |
echo 8. check tools |
echo 8. check tools |
| 21 |
echo 9. exit |
echo 9. exit |
| 29 |
|
|
| 30 |
if "%no%" == "1" ( |
if "%no%" == "1" ( |
| 31 |
call :download_libs force |
call :download_libs force |
| 32 |
call :build_teraterm freeze_state |
call :build_libs |
| 33 |
|
call :build_teraterm rebuild |
| 34 |
) |
) |
| 35 |
|
|
| 36 |
if "%no%" == "2" ( |
if "%no%" == "2" ( |
| 37 |
call :download_libs |
call :download_libs |
| 38 |
call :build_libs |
call :build_libs |
| 39 |
call :build_teraterm freeze_state |
call :build_teraterm rebuild |
| 40 |
) |
) |
| 41 |
|
|
| 42 |
if "%no%" == "3" ( |
if "%no%" == "3" ( |
| 43 |
call :download_libs |
call :download_libs |
| 44 |
call :build_libs |
call :build_libs |
| 45 |
|
call :build_teraterm |
| 46 |
) |
) |
| 47 |
|
|
| 48 |
if "%no%" == "4" ( |
if "%no%" == "4" ( |
| 49 |
call :build_teraterm freeze_state |
call :download_libs |
| 50 |
|
call :build_libs |
| 51 |
) |
) |
| 52 |
|
|
| 53 |
if "%no%" == "5" ( |
if "%no%" == "5" ( |
| 54 |
|
call :build_teraterm rebuild |
| 55 |
|
) |
| 56 |
|
|
| 57 |
|
if "%no%" == "6" ( |
| 58 |
call :build_teraterm |
call :build_teraterm |
| 59 |
) |
) |
| 60 |
|
|
| 101 |
for /f "delims=" %%i in ('perl issversion.pl') do @set TT_VERSION=%%i |
for /f "delims=" %%i in ('perl issversion.pl') do @set TT_VERSION=%%i |
| 102 |
|
|
| 103 |
call ..\buildtools\svnrev\sourcetree_info.bat |
call ..\buildtools\svnrev\sourcetree_info.bat |
| 104 |
if "%1" == "freeze_state" ( |
if "%RELEASE%" == "1" ( |
| 105 |
call build.bat rebuild |
call build.bat rebuild |
| 106 |
call makearchive.bat release |
call makearchive.bat release |
| 107 |
) else if "%RELEASE%" == "1" ( |
) else if "%1" == "rebuild" ( |
| 108 |
call build.bat rebuild |
call build.bat rebuild |
| 109 |
call makearchive.bat release |
call makearchive.bat |
| 110 |
) else ( |
) else ( |
| 111 |
call makearchive.bat |
call makearchive.bat |
| 112 |
) |
) |