]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/all/build-windows
2 #----------------------------------------------------------------------
6 # read the config variables from the file given on the command line
11 if [ $skipwin != yes ]; then
12 # test if the target machine is online
13 if ping -q -c1 -w1 $WIN_HOST > /dev
/null
; then
14 echo " The $WIN_HOST machine is online, Windows build continuing..."
16 echo "The $WIN_HOST machine is **OFFLINE**, skipping the Windows build."
20 echo "Copying source file and build script..."
21 scp
$STAGING_DIR/wxPython
-src-$VERSION.
tar.gz \
22 distrib
/all
/do-build-windows \
25 echo "Running build script on $WIN_HOST..."
26 wxdir
=$WIN_BUILD/wxPython
-src-$VERSION
27 cmd
=.
/do-build-windows
28 ssh $WIN_HOST "cd $WIN_BUILD && $cmd $wxdir $WIN_BUILD $skipclean $VERSION $PYVER && rm $cmd"
30 echo "Fetching the results..."
31 scp
"$WIN_HOST:$WIN_BUILD/wxPython*-win32*" $STAGING_DIR
32 ssh $WIN_HOST "rm $WIN_BUILD/wxPython*-win32*"