]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/all/build-windows
2 #----------------------------------------------------------------------
9 if [ $buildansi = yes ]; then
16 if [ $skipwin != yes ]; then
17 # test if the target machine is online
18 if ping -q -c1 -w1 $WIN_HOST > /dev
/null
; then
19 echo " The $WIN_HOST machine is online, Windows build continuing..."
21 echo "The $WIN_HOST machine is **OFFLINE**, skipping the Windows build."
25 echo "Copying source, docs and build script..."
26 scp
$STAGING_DIR/wxPython
-src-$VERSION.
tar.bz2 \
27 $STAGING_DIR/wxPython
-docs-$VERSION.
tar.bz2 \
28 distrib
/all
/do-build-windows \
31 echo "Running build script on $WIN_HOST..."
32 wxdir
=$WIN_BUILD/wxPython
-src-$VERSION
33 cmd
=.
/do-build-windows
34 ssh $WIN_HOST "cd $WIN_BUILD && $cmd $wxdir $WIN_BUILD $skipclean $VERSION $PYVER $CHARTYPE && rm $cmd"
36 echo "Fetching the results..."
37 scp
"$WIN_HOST:$WIN_BUILD/wxPython*-win32*" $STAGING_DIR
38 ssh $WIN_HOST "rm $WIN_BUILD/wxPython*-win32*"