Mac OS X Build Instructions

From PsiWiki


See also Xcode_Instructions

Automatic script

This automated script downloads and builds the current Remko's MacOS X build (it comes from Keeping up-to-date with Remko's Mac builds Forum thread):

#!/bin/sh
#
# Updates Psi with latest nightly build from http://el-tramo.be/psi/mac
#

today=$1

if [ -z "$today" ] ; then
  today=`date +%Y%m%d`
fi

if [ -d 'psi-mac-$today' ] ; then
  echo "You already have build $today, restart your Psi to use it, maybe?"
  exit 1
fi

echo Getting version for $today
curl -O http://el-tramo.be/psi/mac/psi-mac-$today.zip

unzip psi-mac-$today.zip
rm psi-mac-$today.zip
rsync -a into_frameworks/ psi-mac-$today/Psi.app/Contents/Frameworks
mv psi-latest psi-replaced-$today
mv psi-mac-$today psi-latest
growlnotify -n "Psi Nightly build updater" -s -a Psi 'Psi is updated!' <<EOF
You Psi was updated with the latest nightly build, $today. Please Quit and restart you Psi.
EOF