snapshot.bat 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. @echo off
  2. rem Run POSIX and Windows snapshots and inspection
  3. rem Copyright 2008 Beman Dawes
  4. rem Distributed under the Boost Software License, Version 1.0.
  5. rem See http://www.boost.org/LICENSE_1_0.txt
  6. rem Must be run in a directory devoted to boost release snapshots
  7. echo Remove residue from prior runs...
  8. rem rmdir commands seem to finish before the deletes are necessarily complete.
  9. rem This can occasionally cause subsequent commands to fail because they expect
  10. rem the directory to be gone or empty. snapshot_posix and snapshot_windows
  11. rem are affected. Fix is to run rmdir here so that deletes are complete
  12. rem by the time snapshots are run.
  13. rmdir /s /q posix >nul
  14. rmdir /s /q windows >nul
  15. time /t
  16. echo Using %BOOST_TRUNK% as boost trunk
  17. time /t
  18. pushd %BOOST_TRUNK%
  19. echo Running svn cleanup on %BOOST_TRUNK%
  20. svn --non-interactive --trust-server-cert cleanup
  21. echo Running svn update on %BOOST_TRUNK%
  22. svn --non-interactive --trust-server-cert up
  23. popd
  24. call %BOOST_TRUNK%\tools\release\revision_number.bat
  25. time /t
  26. call %BOOST_TRUNK%\tools\release\snapshot_download_docs.bat
  27. time /t
  28. call %BOOST_TRUNK%\tools\release\snapshot_posix.bat
  29. time /t
  30. call %BOOST_TRUNK%\tools\release\snapshot_windows.bat
  31. time /t
  32. call %BOOST_TRUNK%\tools\release\snapshot_inspection.bat
  33. time /t
  34. echo Revision %BOOST_REVISION_NUMBER% snapshot complete
粤ICP备19079148号