未验证 提交 5c6985be 编写于 作者: P Phodal Huang 提交者: GitHub

Update README.md

上级 e55165ed
# Coca
## Usage
install
```
go get https://github.com/phodal/coca
```
Analysis
```
coca analysis -p [PATH]
```
Refactor
```
coca refactor -R rename.coca -D deps.json -p src/main
coca refactor -m move.config -p .
```
## Dev
### 安装 Go
Install Go
```bash
brew install go
```
配置环境
Env
```bash
export GOROOT=/usr/local/opt/go/libexec
......@@ -16,15 +37,13 @@ export GOPATH=$HOME/.go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
```
#### 安装 Go 依赖管理工具:godep
clone
```
brew install dep
go get https://github.com/phodal/coca
```
TBD.
### Test
Test Frameworks
```
go get github.com/onsi/ginkgo
......@@ -33,4 +52,4 @@ go get github.com/onsi/gomega
### Refs
[https://github.com/MontFerret/ferret](https://github.com/MontFerret/ferret)
\ No newline at end of file
[https://github.com/MontFerret/ferret](https://github.com/MontFerret/ferret)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册