Arcanist快速开始(代码review)
安装依赖
- 安装php
 - 安装git
 - 安装Arcanist环境变量
1
2
3
4mkdir somewhere/
cd somewhere/
somewhere/ $ git clone https://github.com/phacility/libphutil.git
somewhere/ $ git clone https://github.com/phacility/arcanist.gitexport PATH="$PATH:/somewhere/arcanist/bin/" 
配置项目
  在项目工作根目录创建.arcconfig文件
{
  “project_id”: “news_spider”,
  “phabricator.uri” : “http://p.datahorizon.top:3721/“
}
安装Arcanist凭证
凭证允许您进行身份验证。 您必须在 Phabricator 上有一个帐户,然后才能执行此步骤。
1  | $ cd yourproject/  | 
发送更改以供审核
1  | arc diff  | 
  如果已经push 的代码可以arc diff  commitid