toolkit/crashreporter/google-breakpad/src/tools/windows/refresh_binaries.bat

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/crashreporter/google-breakpad/src/tools/windows/refresh_binaries.bat	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +REM This batch file is meant to facilitate regenerating prebuilt binaries for 
     1.5 +REM the Windows tools.
     1.6 +REM You MUST run it from a Visual Studio xxxx Command Prompt.  To do this,
     1.7 +REM navigate to:
     1.8 +REM 
     1.9 +REM    Start->Programs->Microsoft Visual Studio XXXX->Tools->
    1.10 +REM                        Visual Studio Command Prompt
    1.11 +REM
    1.12 +REM Then run this batch file.  It performs an SVN update, edits the
    1.13 +REM README.binaries file to contain
    1.14 +REM the revision number, and builds the tools.  You must run 'svn commit' to
    1.15 +REM commit the pending edits to the repository.
    1.16 +
    1.17 +pushd %~dp0\..\..\
    1.18 +call svn update --accept postpone
    1.19 +cd tools\windows
    1.20 +devenv symupload\symupload.vcproj /rebuild Release
    1.21 +copy symupload\Release\symupload.exe binaries\
    1.22 +REM switch back to top level so that 'svn info' displays useful information.
    1.23 +cd ..\..\
    1.24 +echo This checkin of the binaries was created by refresh_binaries.bat. > %TEMP%\checkin.txt
    1.25 +echo Date: %DATE% %TIME% >> %TEMP%\checkin.txt
    1.26 +echo Repository information (output of 'svn info') follows: >> %TEMP%\checkin.txt
    1.27 +call svn info >> %TEMP%\checkin.txt
    1.28 +echo Done!
    1.29 +echo type 'svn commit -F %%TEMP%%\checkin.txt' to commit.
    1.30 +popd

mercurial