Last active
August 29, 2015 14:22
-
-
Save carmark/9dcb8885ca4cb19279ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
官方的安装文档是使用go get github.com/tools/godep,很可惜,因为“网络”问题会报一个找不到golang.org/x/tools/go/vcs的错误。而https://github.com/golang/tools 是 golang.org/x/tools的一个镜像,代码是一样的,所以我是如下安装的。 | |
* set your GOPATH | |
* make a dir in your $GOPATH/src/, like $GOPATH/src/golang.org/x | |
* `git clone https://github.com/golang/tools $GOPATH/src/golang.org/x/tools` | |
* `go get github.com/tools/godep` | |
* add $GOPATH/bin dir in PATH env | |
* update the local hyper private repo | |
* you can `godep go build hyper.go/hyperd.go` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment