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