]>
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
10 if [ $skipwin != yes ]; then
11 # test if the target machine is online
12 if ping -q -c1 -w1 $WIN_HOST > /dev
/null
; then
13 echo " The $WIN_HOST machine is online, Windows build continuing..."
15 echo "The $WIN_HOST machine is **OFFLINE**, skipping the Windows build."
19 echo "Copying source file and build script..."
20 scp
$STAGING_DIR/wxPython
-src-$VERSION.
tar.gz \
21 distrib
/all
/do-build-windows \
24 echo "Running build script on $WIN_HOST..."
25 wxdir
=$WIN_BUILD/wxPython
-src-$VERSION
26 cmd
=.
/do-build-windows
27 ssh $WIN_HOST "cd $WIN_BUILD && $cmd $wxdir $WIN_BUILD $skipclean $VERSION $PYVER && rm $cmd"
29 echo "Fetching the results..."
30 scp
"$WIN_HOST:$WIN_BUILD/wxPython*-win32*" $STAGING_DIR
31 ssh $WIN_HOST "rm $WIN_BUILD/wxPython*-win32*"