]>
Commit | Line | Data |
---|---|---|
b32b8144 | 1 | #!/usr/bin/env bash |
7c673cae FG |
2 | |
3 | # Copyright 2004, 2005, 2006 Vladimir Prus | |
4 | # Distributed under the Boost Software License, Version 1.0. | |
5 | # (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) | |
6 | ||
7 | # This script create a nightly tarball of Boost.Build V2 | |
8 | # and updates the web site. | |
9 | ||
10 | # Create the packages | |
11 | set -e | |
12 | trap "echo 'Nightly build failed'" ERR | |
13 | ||
14 | export QTDIR=/usr/share/qt3 | |
15 | export LC_ALL=C | |
16 | export LC_MESSAGES=C | |
17 | export LANG=C | |
18 | cd /tmp | |
19 | rm -rf boost-build-nightly | |
20 | mkdir boost-build-nightly | |
21 | echo "Checking out sources" | |
22 | svn co http://svn.boost.org/svn/boost/trunk/tools/build/v2 boost-build-nightly/boost-build > /tmp/boost_build_checkout_log | |
23 | mv /tmp/boost_build_checkout_log boost-build-nightly/checkout-log | |
24 | cd boost-build-nightly/boost-build/ | |
25 | echo "Building packages and uploading docs" | |
26 | ./roll.sh > ../roll-log 2>&1 | |
27 | cd .. | |
28 | echo "Uploading packages" | |
29 | scp boost-build.zip boost-build.tar.bz2 vladimir_prus,boost@web.sourceforge.net:/home/groups/b/bo/boost/htdocs/boost-build2 > scp-log | |
30 | echo "Nightly build successful" |