Mercurial > hg > forks > UniversalIndentGUI
changeset 567:88f8bfa36730
Updated the win32 create release batch file.
git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@811 59b1889a-e5ac-428c-b0c7-476e01d41282
author | thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282> |
---|---|
date | Thu, 09 Oct 2008 15:23:50 +0000 |
parents | c12c9b26e269 |
children | 86a8c4af609a |
files | buildwin32release_gcc.bat |
diffstat | 1 files changed, 21 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/buildwin32release_gcc.bat Thu Oct 09 13:04:54 2008 +0000 +++ b/buildwin32release_gcc.bat Thu Oct 09 15:23:50 2008 +0000 @@ -3,10 +3,11 @@ echo Making some environment settings echo -------------------------------- rem set QTDIR=%QTDIR%_static -rem set QTDIR=C:\Programmierung\qt.4.3.0_gcc_static -set QTDIR=F:\Qt\qt.4.4.0_gpl_static +set QTDIR=C:\Programmierung\qt.4.4.3_gpl_static +rem set QTDIR=F:\Qt\qt.4.4.0_gpl_static set PATH=%QTDIR%\bin set PATH=%PATH%;D:\Programme\Informat\MingW\bin;D:\Programme\Tools\7-Zip +set PATH=%QTDIR%\bin;C:\Programmierung\MingW\bin;%PATH%;C:\Programme\7-Zip set PATH=%PATH%;%SystemRoot%\System32 set QMAKESPEC=win32-g++ echo Done. @@ -15,8 +16,8 @@ echo Calling qmake echo ------------- -qmake -IF ERRORLEVEL 1 goto ERROR +rem qmake +rem IF ERRORLEVEL 1 goto ERROR echo Done. echo. @@ -41,6 +42,10 @@ IF ERRORLEVEL 1 goto ERROR md doc IF ERRORLEVEL 1 goto ERROR +cd doc +md images +IF ERRORLEVEL 1 goto ERROR +cd .. md config IF ERRORLEVEL 1 goto ERROR cd .. @@ -49,7 +54,7 @@ echo Copying the indenter executables and example file to the release indenters dir echo ------------------------------------------------------------------------------ -FOR %%A IN ( astyle.exe, astyle.html, bcpp.exe, bcpp.txt, csstidy.exe, gc.exe, gc.txt, indent.exe, libiconv-2.dll, libintl-2.dll, indent.html, JsDecoder.js, perltidy, PerlTidyLib.pm, php_beautifier.html, shellindent.awk, tidy.exe, tidy.html, uncrustify.exe, uncrustify.txt, example.cpp, example.css, example.html, example.js, example.php, example.pl, example.sh ) DO ( +FOR %%A IN ( astyle.exe, astyle.html, bcpp.exe, bcpp.txt, csstidy.exe, gc.exe, gc.txt, indent.exe, libiconv-2.dll, libintl-2.dll, indent.html, JsDecoder.js, perltidy, PerlTidyLib.pm, phpStylist.php, phpStylist.txt, rbeautify.rb, ruby_formatter.rb, shellindent.awk, tidy.exe, tidy.html, uncrustify.exe, uncrustify.txt ) DO ( if not exist .\indenters\%%A ( echo File .\indenters\%%A not found! goto ERROR @@ -60,6 +65,13 @@ echo Done. echo. +echo Copying the indenter example files to the release indenters dir +echo --------------------------------------------------------------- +copy .\indenters\example.* .\UniversalIndentGUI_win32\indenters\ >NUL +IF ERRORLEVEL 1 goto ERROR +echo Done. +echo. + echo Copying the indenter uigui ini files to the release indenters dir echo ----------------------------------------------------------------- copy .\indenters\uigui_*.ini .\UniversalIndentGUI_win32\indenters\ >NUL @@ -82,7 +94,7 @@ echo Copying some other files (README, CHANGELOG etc) echo ------------------------------------------------ -FOR %%A IN ( CHANGELOG.txt, LICENSE.GPL, INSTALL.txt, README.txt ) DO ( +FOR %%A IN ( CHANGELOG.txt, LICENSE.GPL, INSTALL.txt, readme.html ) DO ( if not exist .\%%A ( echo File .\%%A not found! goto ERROR @@ -104,6 +116,8 @@ echo ----------------------------------------------------- copy .\doc\iniFileFormat.html .\UniversalIndentGUI_win32\doc\ >NUL IF ERRORLEVEL 1 goto ERROR +copy .\doc\images\* .\UniversalIndentGUI_win32\doc\images\ >NUL +IF ERRORLEVEL 1 goto ERROR copy .\release\UniversalIndentGUI.exe .\UniversalIndentGUI_win32\ >NUL IF ERRORLEVEL 1 goto ERROR echo Done. @@ -112,7 +126,7 @@ echo Packing the whole release dir content echo ------------------------------------- cd UniversalIndentGUI_win32 -7z.exe a -tzip UniversalIndentGUI_0.8.1_win32.zip >NUL +7z.exe a -tzip UniversalIndentGUI_1.0.1_win32.zip >NUL IF ERRORLEVEL 1 goto ERROR cd .. echo Done.