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