]>
git.saurik.com Git - wxWidgets.git/blob - distrib/scripts/build-mac.sh
2 #----------------------------------------------------------------------
6 if [ $skiplinux != yes ]; then
7 # test if the target machine is online
8 #if ping -q -c1 $WIN_HOST > /dev/null; then
9 #echo " The $WIN_HOST machine is online, Windows build continuing..."
11 #echo "The $WIN_HOST machine is **OFFLINE**, skipping the Windows build."
15 echo "Copying source file and build script..."
16 scp
-r $STAGING_DIR/* $MAC_HOST:$MAC_BUILD
18 echo "Untarring dist on $MAC_HOST..."
19 wxtarball
=$MAC_BUILD/wxWidgets
-$BUILD_VERSION.
tar.gz
21 ssh $MAC_HOST "cd $MAC_BUILD && $cmd $wxtarball"
23 echo "Running build script on $MAC_HOST..."
24 wxdir
=$MAC_BUILD/wxWidgets
25 cmd
="./distrib/scripts/mac/tardist $wxdir $wxdir/deliver $BUILD_VERSION --wxmac --wxall --silent"
26 ssh $MAC_HOST "cd $wxdir && chmod +x distrib/scripts/mac/tardist && $cmd"
28 echo "Fetching the results..."
29 scp
"$MAC_HOST:$wxdir/deliver/*.tar.gz " $DIST_DIR
30 scp
"$MAC_HOST:$wxdir/deliver/*.tar.bz2 " $DIST_DIR