Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 本拠> git remote show origin
- # * remote origin
- # URL: git://repo.or.cz/MacVim.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 MacVim.app 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 "MacVim.app"
- cp_r "src/MacVim/build/Release/MacVim.app", "."
- end
- desc "Install MacVim, building if needed"
- task :install do
- Rake::Task["package"].invoke unless File.exist?("MacVim.app")
- raise "MacVim.app seems not to exist. Aborting!" unless File.readable?("MacVim.app")
- rm_rf "/Applications/MacVim.app"
- cp_r "MacVim.app", "/Applications/"
- end
Add Comment
Please, Sign In to add comment