Guest User

Untitled

a guest
Feb 21st, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. # 本拠> git remote show origin
  2. # * remote origin
  3. # URL: git://repo.or.cz/MacVim.git
  4. # Remote branch merged with 'git pull' while on branch master
  5. # master
  6. # Tracked remote branches
  7. # master stable vim
  8.  
  9. # 本拠> cat Rakefile
  10. desc "Build MacVim and copy MacVim.app to the root of the checkout"
  11. task :package do
  12. cd "src"
  13. sh "make clean"
  14. sh "./configure --enable-gui=macvim"
  15. sh "make"
  16. cd "MacVim"
  17. sh "xcodebuild"
  18. cd "../.."
  19. rm_rf "MacVim.app"
  20. cp_r "src/MacVim/build/Release/MacVim.app", "."
  21. end
  22.  
  23. desc "Install MacVim, building if needed"
  24. task :install do
  25. Rake::Task["package"].invoke unless File.exist?("MacVim.app")
  26. raise "MacVim.app seems not to exist. Aborting!" unless File.readable?("MacVim.app")
  27. rm_rf "/Applications/MacVim.app"
  28. cp_r "MacVim.app", "/Applications/"
  29. end
Add Comment
Please, Sign In to add comment