Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | REM This batch file is meant to facilitate regenerating prebuilt binaries for |
michael@0 | 2 | REM the Windows tools. |
michael@0 | 3 | REM You MUST run it from a Visual Studio xxxx Command Prompt. To do this, |
michael@0 | 4 | REM navigate to: |
michael@0 | 5 | REM |
michael@0 | 6 | REM Start->Programs->Microsoft Visual Studio XXXX->Tools-> |
michael@0 | 7 | REM Visual Studio Command Prompt |
michael@0 | 8 | REM |
michael@0 | 9 | REM Then run this batch file. It performs an SVN update, edits the |
michael@0 | 10 | REM README.binaries file to contain |
michael@0 | 11 | REM the revision number, and builds the tools. You must run 'svn commit' to |
michael@0 | 12 | REM commit the pending edits to the repository. |
michael@0 | 13 | |
michael@0 | 14 | pushd %~dp0\..\..\ |
michael@0 | 15 | call svn update --accept postpone |
michael@0 | 16 | cd tools\windows |
michael@0 | 17 | devenv symupload\symupload.vcproj /rebuild Release |
michael@0 | 18 | copy symupload\Release\symupload.exe binaries\ |
michael@0 | 19 | REM switch back to top level so that 'svn info' displays useful information. |
michael@0 | 20 | cd ..\..\ |
michael@0 | 21 | echo This checkin of the binaries was created by refresh_binaries.bat. > %TEMP%\checkin.txt |
michael@0 | 22 | echo Date: %DATE% %TIME% >> %TEMP%\checkin.txt |
michael@0 | 23 | echo Repository information (output of 'svn info') follows: >> %TEMP%\checkin.txt |
michael@0 | 24 | call svn info >> %TEMP%\checkin.txt |
michael@0 | 25 | echo Done! |
michael@0 | 26 | echo type 'svn commit -F %%TEMP%%\checkin.txt' to commit. |
michael@0 | 27 | popd |