diff options
| author | Jack Nagel | 2013-12-01 19:57:20 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-12-01 20:09:07 -0600 |
| commit | 7a790c0c51c275302967cbc41d631a237e333ee6 (patch) | |
| tree | eb8f91afa55ab3bbaf5793da8e5c8fa8a8d02456 /Library/Formula | |
| parent | cb6b12d4474bb20b8a7b8c2e1427992a72fe516b (diff) | |
| download | homebrew-7a790c0c51c275302967cbc41d631a237e333ee6.tar.bz2 | |
go: prune caveats
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/go.rb | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/Library/Formula/go.rb b/Library/Formula/go.rb index 4857fde26..68d5d1424 100644 --- a/Library/Formula/go.rb +++ b/Library/Formula/go.rb @@ -65,25 +65,17 @@ class Go < Formula bin.install_symlink Dir["#{libexec}/bin/*"] end - def caveats - changelog = <<-EOS.undent - The go get command no longer allows $GOROOT as - the default destination in Go 1.1 when downloading package source. - To use the go get command, a valid $GOPATH is now required. + def caveats; <<-EOS.undent + As of go 1.2, a valid GOPATH is required to use the `go get` command: + http://golang.org/doc/code.html#GOPATH - As a result of the previous change, the go get command will also fail - when $GOPATH and $GOROOT are set to the same value. + `go vet` and `go doc` are now part of the go.tools sub repo: + http://golang.org/doc/go1.2#go_tools_godoc - More information here: http://golang.org/doc/code.html#GOPATH - - In go 1.2 go vet and go doc are now part of the go.tools sub repo. - see: http://golang.org/doc/go1.2#go_tools_godoc - - To get go vet and go doc run: - $ go get code.google.com/p/go.tools/cmd/godoc - $ go get code.google.com/p/go.tools/cmd/vet + To get `go vet` and `go doc` run: + go get code.google.com/p/go.tools/cmd/godoc + go get code.google.com/p/go.tools/cmd/vet EOS - return changelog end test do |
