]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/all/build-osx
   2 #---------------------------------------------------------------------- 
  12 if [ $skiposx != yes ]; then 
  13     # test if the target machine is online 
  14     if ping -q -c1 -w1 $host > /dev
/null
; then 
  15         echo "The $host machine is online, OSX build continuing..." 
  17         echo "The $host machine is **OFFLINE**, skipping the OSX build." 
  21     if [ $chartype == ansi 
-a $buildansi == no 
]; then 
  22         echo "Skipping ansi-only build host" 
  26     if [ $chartype == both 
-a $buildansi == no 
]; then 
  30     echo "Copying source files and build script..." 
  31     ssh root@
$host "mkdir -p $OSX_BUILD && rm -rf $OSX_BUILD/* || true" 
  33     scp 
$STAGING_DIR/wxPython
-src-$VERSION.
tar.bz2 \
 
  34         $STAGING_DIR/wxPython
-docs-$VERSION.
tar.bz2 \
 
  35         $STAGING_DIR/wxPython
-demo-$VERSION.
tar.bz2 \
 
  36         distrib
/all
/do-build-osx \
 
  39     echo "Running build script on $host..." 
  40     wxdir
=$OSX_BUILD/wxPython
-src-$VERSION 
  42     ssh root@
$host "cd $OSX_BUILD && $cmd $wxdir $OSX_BUILD $skipclean $VERSION $pyver $chartype $flags && rm $cmd" 
  44     echo "Fetching the results..." 
  45     scp 
"root@$host:$OSX_BUILD/wxPython*-osx*"  $STAGING_DIR 
  46     ssh root@
$host "rm $OSX_BUILD/wxPython*-osx*"