Skip to content

Instantly share code, notes, and snippets.

@claco
Created December 19, 2011 20:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save claco/1498636 to your computer and use it in GitHub Desktop.
Save claco/1498636 to your computer and use it in GitHub Desktop.
desc 'Install MacVim'
task :macvim do
system 'git clone git://github.com/b4winckler/macvim.git ~/Downloads/macvim'
system 'cd ~/Downloads/macvim && git pull'
system 'cd ~/Downloads/macvim && make clean'
system 'cd ~/Downloads/macvim && ./configure --with-features=huge --enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-cscope --with-tlib=ncurses --enable-multibyte'
system 'cd ~/Downloads/macvim && make'
system 'rm -rf /Applications/MacVim.app'
system 'cd ~/Downloads/macvim && cp -R ~/Downloads/macvim/src/MacVim/build/Release/MacVim.app /Applications'
system 'cd ~/Downloads/macvim && cp ~/Downloads/macvim/src/MacVim/mvim /usr/local/bin'
end
desc 'Install Vim'
task :vim do
system 'hg clone https://vim.googlecode.com/hg/ ~/Downloads/vim'
system 'cd ~/Downloads/vim && hg pull -u'
system 'cd ~/Downloads/vim && ./configure --with-features=huge --disable-gui --without-x --enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-cscope --with-tlib=ncurses --enable-multibyte'
system 'cd ~/Downloads/vim && make && sudo make install && sudo rm /usr/bin/vim'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment