3 # Increment build number
4 /Developer
/Tools
/agvtool next-version
-all > /dev
/null
6 # Get current build number
7 BUILDNUM
=`/Developer/Tools/agvtool what-version -terse`
8 DEST
=~
/Desktop
/MacVim-snapshot-
$BUILDNUM
10 echo '****************************************************'
11 echo " BUILDING SNAPSHOT $BUILDNUM"
12 echo '****************************************************'
16 echo 'BUILDING VIM BINARY'
17 echo ' running configure...'
18 cd ..
&& .
/configure
--enable-gui=macvim
--with-mac-arch=both \
19 --with-features=huge
--enable-pythoninterp --enable-tclinterp \
21 --with-compiledby="Bjorn Winckler <bjorn.winckler@gmail.com>" > /dev
/null
24 make clean
> /dev
/null
25 echo ' calling make...'
30 echo 'BUILDING MacVim.app'
33 xcodebuild
-configuration Universal clean
> /dev
/null
34 echo ' calling xcodebuild...'
35 xcodebuild
-configuration Universal
> /dev
/null
38 # Create archive of build/Universal/MacVim.app
39 echo 'CREATING SNAPSHOT ARCHIVE'
40 echo ' copying MacVim.app and supporting files...'
42 cp -pR build
/Universal
/MacVim.app
$DEST/
44 cp -p README-snapshot.txt
$DEST/
45 echo ' creating archive....'
47 tar cjf MacVim-snapshot-
$BUILDNUM.tbz MacVim-snapshot-
$BUILDNUM
51 echo 'Now update the Appcast, commit and tag, then post on vim_mac.'
55 # git-commit -a -m "$BUILDNUM"
56 # git-tag -a -F tagfile $BUILDNUM