Created
August 4, 2011 13:57
-
-
Save johnbintz/1125204 to your computer and use it in GitHub Desktop.
Build latest MacVim, activating and deactivating all the right things along the way
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ ! -z $(which ruby | grep '.rvm') ]; then | |
echo "Switch to system ruby!" | |
exit 1 | |
fi | |
echo "Building latest MacVim..." | |
sudo port activate libiconv | |
git pull | |
sudo port deactivate -f libiconv | |
rvm system | |
cd src | |
make clean | |
./configure --with-features=huge \ | |
--enable-rubyinterp \ | |
--enable-pythoninterp \ | |
--enable-perlinterp \ | |
--enable-cscope | |
make | |
sudo port activate libiconv | |
cp -Rpv MacVim/build/Release/MacVim.app /Applications | |
cd /Applications | |
open MacVim.app | |
echo "Done!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment