3 export MACOSX_DEPLOYMENT_TARGET
=10.4
5 # Increment build number
6 /Developer
/usr
/bin
/agvtool next-version
-all > /dev
/null
8 # Get current build number
9 BUILDNUM
=`/Developer/usr/bin/agvtool what-version -terse`
10 DEST
=~
/Desktop
/MacVim-snapshot-
$BUILDNUM
12 echo '****************************************************'
13 echo " BUILDING SNAPSHOT $BUILDNUM"
14 echo '****************************************************'
18 echo 'BUILDING VIM BINARY'
19 echo ' running configure...'
20 cd ..
&& .
/configure
--enable-gui=macvim
--with-mac-arch=both \
21 --with-features=huge
--enable-pythoninterp \
22 --enable-cscope --enable-rubyinterp \
23 --with-compiledby="Bjorn Winckler <bjorn.winckler@gmail.com>" > /dev
/null
26 make clean
> /dev
/null
27 echo ' calling make...'
32 echo 'BUILDING MacVim.app'
35 xcodebuild
-configuration Universal clean
> /dev
/null
36 echo ' calling xcodebuild...'
37 xcodebuild
-configuration Universal
> /dev
/null
40 # Create archive of build/Universal/MacVim.app
41 echo 'CREATING SNAPSHOT ARCHIVE'
42 echo ' copying MacVim.app and supporting files...'
44 cp -pR build
/Universal
/MacVim.app
$DEST/
46 cp -p README-snapshot.txt
$DEST/
47 echo ' creating archive....'
49 tar cjf MacVim-snapshot-
$BUILDNUM.tbz MacVim-snapshot-
$BUILDNUM
53 echo 'Now update the Appcast, commit and tag, then post on vim_mac.'
57 # git-commit -a -m "$BUILDNUM"
58 # git-tag -a -F tagfile $BUILDNUM