diff options
author | Russ Cox <rsc@golang.org> | 2013-01-31 08:06:38 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2013-01-31 08:06:38 -0800 |
commit | 82e5ab2dc562d907c77aed273707347adbd3f130 (patch) | |
tree | 92386f67ed4521f10a36fdb2695194bc94aa637c /src/cmd/go/fix.go | |
parent | 61691934c5de7c7d977d86045c656d7101078614 (diff) | |
download | go-82e5ab2dc562d907c77aed273707347adbd3f130.tar.gz |
cmd/go: many bug fixes
* Reject import paths of the form cmd/x/y.
* Reject 'go install' of command outside GOPATH
* Clearer error rejecting 'go install' of package outside GOPATH.
* Name temporary binary for first file in 'go run' list or for test.
* Provide a way to pass -ldflags arguments with spaces.
* Pass all Go files (even +build ignored ones) to go fix, go fmt, go vet.
* Reject 'go run foo_test.go'.
* Silence 'exit 1' prints from 'go tool' invocations.
* Make go test -xxxprofile leave binary behind for analysis.
* Reject ~ in GOPATH except on Windows.
* Get a little less confused by symlinks.
* Document that go test x y z runs three test binaries.
* Fix go test -timeout=0.
* Add -tags flag to 'go list'.
* Use pkg/gccgo_$GOOS_$GOARCH for gccgo output.
Fixes issue 3389.
Fixes issue 3500.
Fixes issue 3503.
Fixes issue 3760.
Fixes issue 3941.
Fixes issue 4007.
Fixes issue 4032.
Fixes issue 4074.
Fixes issue 4127.
Fixes issue 4140.
Fixes issue 4311.
Fixes issue 4568.
Fixes issue 4576.
Fixes issue 4702.
R=adg
CC=golang-dev
https://codereview.appspot.com/7225074
Diffstat (limited to 'src/cmd/go/fix.go')
-rw-r--r-- | src/cmd/go/fix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/go/fix.go b/src/cmd/go/fix.go index ef02b5739..8736cce3e 100644 --- a/src/cmd/go/fix.go +++ b/src/cmd/go/fix.go @@ -25,6 +25,6 @@ func runFix(cmd *Command, args []string) { // Use pkg.gofiles instead of pkg.Dir so that // the command only applies to this package, // not to packages in subdirectories. - run(stringList(tool("fix"), relPaths(pkg.gofiles))) + run(stringList(tool("fix"), relPaths(pkg.allgofiles))) } } |