TextMate2 最新版下载及源码编译过程

TextMate2 已经开源,我刚编译成功,若是有须要的同窗能够点击下面百度网盘的连接下载。我系统版本是:Mac OS X 10.8.4。git

TextMate version 2.0-alpha.9460+git.d9b446d:百度网盘github

 

分享下编译过程:ruby

step 1. 下载安装 Xcodemarkdown

step 2. 安装 Command Line Toolsapp

step 3. 安装 brewcurl

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"ui

step 4. 准备编译环境url

brew install ragel boost multimarkdown mercurialcode

brew install proctoolsblog

  brew install --HEAD llvm --with-clang

step 5. 获取源码

  git clone https://github.com/textmate/textmate.git

step 6. 下载 submodule

  cd textmate

  git submodule update --init

step 7. 编译

  ./configure && ninja

 

不出意外的话,会在 /var/root/build/TextMate/Application/TextMate/ 目录下生成 TextMate.app。

su 到 root 账户执行 “cp -rv /var/root/build/TextMate/Application/TextMate/TextMate.app /Application/” 完成 TextMate2 的安装,以后你就能够在 “Finder->应用程序” 里运行你的 TextMate2。