inspect_trunk.bat 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. rem Inspect Trunk
  2. rem Copyright Beman Dawes 2008, 2009
  3. rem Distributed under the Boost Software License, Version 1.0.
  4. rem See http://www.boost.org/LICENSE_1_0.txt
  5. echo Must be run in directory containing svn checkout of trunk
  6. echo Clean trunk working copy ...
  7. rem cleanup clears locks or other residual problems (we learned this the hard way!)
  8. svn cleanup
  9. echo Update trunk working copy...
  10. svn up --non-interactive --trust-server-cert
  11. pushd tools\inspect\build
  12. echo Build inspect program...
  13. bjam
  14. popd
  15. echo Inspect...
  16. dist\bin\inspect >%TEMP%\trunk_inspect.html
  17. echo Create ftp script...
  18. pushd %TEMP%
  19. copy %BOOST_TRUNK%\..\user.txt inspect.ftp
  20. echo dir >>inspect.ftp
  21. echo binary >>inspect.ftp
  22. echo put trunk_inspect.html >>inspect.ftp
  23. echo dir >>inspect.ftp
  24. echo mdelete inspect-trunk.html >>inspect.ftp
  25. echo rename trunk_inspect.html inspect-trunk.html >>inspect.ftp
  26. echo dir >>inspect.ftp
  27. echo bye >>inspect.ftp
  28. echo Run ftp script...
  29. ftp -n -i -s:inspect.ftp boost.cowic.de
  30. popd
  31. echo Update script for next run
  32. copy /y tools\release\inspect_trunk.bat
  33. echo Inspect script complete
粤ICP备19079148号