Created
December 19, 2011 20:02
-
-
Save claco/1498636 to your computer and use it in GitHub Desktop.
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
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