]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/all/build-osx
2 #----------------------------------------------------------------------
6 # read the config variables from the file given on the command line
14 if [ $skiposx != yes ]; then
15 # test if the target machine is online
16 if ping -q -c1 -w1 $host > /dev
/null
; then
17 echo " The $host machine is online, OSX-$flavor build continuing..."
19 echo "The $host machine is **OFFLINE**, skipping the OSX-$flavor build."
23 echo "Copying source files and build script..."
24 ssh root@
$host "mkdir -p $OSX_BUILD && rm -rf $OSX_BUILD/* || true"
26 scp
$STAGING_DIR/wxPython
-src-$VERSION.
tar.bz2 \
27 $STAGING_DIR/wxPython
-docs-$VERSION.
tar.bz2 \
28 $STAGING_DIR/wxPython
-demo-$VERSION.
tar.bz2 \
29 distrib
/all
/do-build-osx \
32 echo "Running build script on $host..."
33 wxdir
=$OSX_BUILD/wxPython
-src-$VERSION
35 ssh root@
$host "cd $OSX_BUILD && $cmd $wxdir $OSX_BUILD $skipclean $VERSION $flavor $pyver && rm $cmd"
37 echo "Fetching the results..."
38 scp
"root@$host:$OSX_BUILD/wxPython*-osx*" $STAGING_DIR
39 ssh root@
$host "rm $OSX_BUILD/wxPython*-osx*"