]>
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
13 if [ $skiposx != yes ]; then
14 # test if the target machine is online
15 if ping -q -c1 -w1 $host > /dev
/null
; then
16 echo " The $host machine is online, OSX-$flavor build continuing..."
18 echo "The $host machine is **OFFLINE**, skipping the OSX-$flavor build."
22 echo "Copying source files and build script..."
23 ssh root@
$host "mkdir -p $OSX_BUILD && rm -rf $OSX_BUILD/* || true"
25 scp
$STAGING_DIR/wxPython
-src-$VERSION.
tar.gz \
26 $STAGING_DIR/wxPython
-docs-$VERSION.
tar.gz \
27 $STAGING_DIR/wxPython
-demo-$VERSION.
tar.gz \
28 distrib
/all
/do-build-osx \
31 echo "Running build script on $host..."
32 wxdir
=$OSX_BUILD/wxPython
-src-$VERSION
34 ssh root@
$host "cd $OSX_BUILD && $cmd $wxdir $OSX_BUILD $skipclean $VERSION $flavor $PYVER && rm $cmd"
36 echo "Fetching the results..."
37 scp
"root@$host:$OSX_BUILD/wxPython*-osx*" $STAGING_DIR
38 ssh root@
$host "rm $OSX_BUILD/wxPython*-osx*"