Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/installer/release.bat

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 9811 by nmaya, Sun Mar 13 15:04:52 2022 UTC revision 9813 by zmatsuo, Mon Mar 14 14:44:20 2022 UTC
# Line 17  set LIBRESSL_VERSION=3.4.2 Line 17  set LIBRESSL_VERSION=3.4.2
17  call :setup_tools_env  call :setup_tools_env
18    
19  echo =======  echo =======
20  echo 1. download libs, rebuild libs and Tera Term, installer, archive  echo 1. force download and rebuild libs / rebuild Tera Term, installer, archive
21  echo 2. build libs  echo 2. download and build libs / rebuild Tera Term, installer, archive
22  echo 3. build libs and rebuild Tera Term, installer, archive (for Release build)  echo 3. download and build libs
23  echo 4. build libs and Tera Term (for Normal build, snapshot)  echo 4. build libs and rebuild Tera Term, installer, archive (for Release build)
24    echo 5. build libs and Tera Term (for Normal build, snapshot)
25  echo 7. exec cmd.exe  echo 7. exec cmd.exe
26  echo 8. check tools  echo 8. check tools
27  echo 9. exit  echo 9. exit
# Line 33  if "%1" == "" ( Line 34  if "%1" == "" (
34  echo %no%  echo %no%
35    
36  if "%no%" == "1" (  if "%no%" == "1" (
37      call :update_libs      call :download_libs force
38      call :build_teraterm freeze_state      call :build_teraterm freeze_state
39  )  )
40    
41  if "%no%" == "2" (  if "%no%" == "2" (
42        call :download_libs
43      call :build_libs      call :build_libs
44        call :build_teraterm freeze_state
45  )  )
46    
47  if "%no%" == "3" (  if "%no%" == "3" (
48      call :build_teraterm freeze_state      call :download_libs
49        call :build_libs
50  )  )
51    
52  if "%no%" == "4" (  if "%no%" == "4" (
53        call :build_teraterm freeze_state
54    )
55    
56    if "%no%" == "5" (
57      call :build_teraterm      call :build_teraterm
58  )  )
59    
# Line 62  exit 0 Line 70  exit 0
70    
71    
72  rem ####################  rem ####################
73  :update_libs  :download_libs
74    
75  setlocal  setlocal
76  cd /d %CUR%..\libs  cd /d %CUR%..\libs
77    
78    if "%1" == "force" goto download_libs_download
79    
80    cmake -P checklibs.cmake
81    call checklibs_result.bat
82    del checklibs_result.bat
83    if "%RESULT%" == "1" (
84        echo already all library downloaded
85        goto download_libs_finish
86    )
87    
88    :download_libs_download
89    
90  :oniguruma  :oniguruma
91  %CURL% -L https://github.com/kkos/oniguruma/releases/download/v%ONIG_VERSION%/onig-%ONIG_VERSION%.tar.gz -o oniguruma.tar.gz  %CURL% -L https://github.com/kkos/oniguruma/releases/download/v%ONIG_VERSION%/onig-%ONIG_VERSION%.tar.gz -o oniguruma.tar.gz
92  %CMAKE% -E tar xf oniguruma.tar.gz  %CMAKE% -E tar xf oniguruma.tar.gz
# Line 110  echo #define SFMT_VERSION "%SFMT_VERSION Line 130  echo #define SFMT_VERSION "%SFMT_VERSION
130  %CMAKE% -E rm -rf libressl  %CMAKE% -E rm -rf libressl
131  %CMAKE% -E rename libressl-%LIBRESSL_VERSION% libressl  %CMAKE% -E rename libressl-%LIBRESSL_VERSION% libressl
132    
133    :download_libs_finish
134  endlocal  endlocal
135  exit /b 0  exit /b 0
136    

Legend:
Removed from v.9811  
changed lines
  Added in v.9813

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26