Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# 本拠> git remote show origin
# * remote origin
# URL: git://
# Remote branch merged with 'git pull' while on branch master
# master
# Tracked remote branches
# master stable vim
# 本拠> cat Rakefile
desc "Build MacVim and copy to the root of the checkout"
task :package do
cd "src"
sh "make clean"
sh "./configure --enable-gui=macvim"
sh "make"
cd "MacVim"
sh "xcodebuild"
cd "../.."
rm_rf ""
cp_r "src/MacVim/build/Release/", "."
desc "Install MacVim, building if needed"
task :install do
Rake::Task["package"].invoke unless File.exist?("")
raise " seems not to exist. Aborting!" unless File.readable?("")
rm_rf "/Applications/"
cp_r "", "/Applications/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment