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