As discussed with Julian, the new release system will use a new directory so that we are more free to make changes, and also so we can re-organize files and remove old files. This is still a work in progress!

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier
2006-03-02 20:23:54 +00:00
parent 5eef2b35e3
commit 03a2668fed
57 changed files with 6233 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
#!/bin/bash
#----------------------------------------------------------------------
set -o errexit
if [ $skipwin != yes ]; then
# test if the target machine is online
#if ping -q -c1 $WIN_HOST > /dev/null; then
#echo " The $WIN_HOST machine is online, Windows build continuing..."
#else
#echo "The $WIN_HOST machine is **OFFLINE**, skipping the Windows build."
#exit 0
#fi
echo "Copying source file and build script..."
scp -r $STAGING_DIR/* $WIN_HOST:$WIN_BUILD
echo "Untarring dist on $WIN_HOST..."
wxtarball=$WIN_BUILD/wxWidgets-$BUILD_VERSION.tar.gz
cmd="tar xzvf"
ssh $WIN_HOST "cd $WIN_BUILD && $cmd $wxtarball"
echo "Running build script on $WIN_HOST..."
wxdir=$WIN_BUILD/wxWidgets
cmd="./makesetup.sh --wxmsw --wxos2 --wxbase --wxall --no-inno --getmakefiles"
ssh $WIN_HOST "cd $wxdir/distrib/scripts/msw && chmod +x makesetup.sh && WXWIN=$wxdir VERSION=$BUILD_VERSION $cmd"
echo "Fetching the results..."
scp "$WIN_HOST:$wxdir/deliver/*.zip " $DIST_DIR
#ssh $WIN_HOST "rm $WIN_BUILD/wxPython*-win32*"
echo "Done!"
fi