svnno****@sourc*****
svnno****@sourc*****
2015年 11月 13日 (金) 20:24:00 JST
Revision: 6124 http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6124 Author: yutakapon Date: 2015-11-13 20:24:00 +0900 (Fri, 13 Nov 2015) Log Message: ----------- 各ソリューションファイルのビルドが成功したかどうかをチェックするようにした。 Modified Paths: -------------- trunk/installer/build.bat trunk/installer/makearchive.bat -------------- next part -------------- Modified: trunk/installer/build.bat =================================================================== --- trunk/installer/build.bat 2015-11-13 10:32:25 UTC (rev 6123) +++ trunk/installer/build.bat 2015-11-13 11:24:00 UTC (rev 6124) @@ -91,11 +91,17 @@ :build devenv /%BUILD% release %TERATERMSLN% +if ERRORLEVEL 1 goto fail devenv /%BUILD% release %TTSSHSLN% +if ERRORLEVEL 1 goto fail devenv /%BUILD% release %TTPROXYSLN% +if ERRORLEVEL 1 goto fail devenv /%BUILD% release %TTXKANJISLN% +if ERRORLEVEL 1 goto fail devenv /%BUILD% release %TTPMENUSLN% +if ERRORLEVEL 1 goto fail devenv /%BUILD% release %TTXSAMPLESLN% +if ERRORLEVEL 1 goto fail rem cygterm \x82\xF0\x83R\x83\x93\x83p\x83C\x83\x8B pushd ..\cygterm @@ -107,3 +113,9 @@ pushd cygtool nmake -f cygtool.mak popd + +exit /b 0 + +:fail +exit /b 1 + Modified: trunk/installer/makearchive.bat =================================================================== --- trunk/installer/makearchive.bat 2015-11-13 10:32:25 UTC (rev 6123) +++ trunk/installer/makearchive.bat 2015-11-13 11:24:00 UTC (rev 6124) @@ -14,6 +14,7 @@ CALL makechm.bat CALL build.bat %rebuild% +if ERRORLEVEL 1 goto fail rem change folder name if not "%release%"=="yes" goto snapshot @@ -115,3 +116,12 @@ echo. exit /b +:fail + @ echo off +echo =================================================== +echo ================= E R R O R ======================= +echo =================================================== +echo. +echo \x83r\x83\x8B\x83h\x82Ɏ\xB8\x94s\x82\xB5\x82܂\xB5\x82\xBD (Failed to build source code) +exit /b +