]> Cypherpunks repositories - gostls13.git/commit
go/build: move build constraint docs to 'go help buildconstraint'
authorJay Conrod <jayconrod@google.com>
Fri, 8 May 2020 15:57:44 +0000 (11:57 -0400)
committerJay Conrod <jayconrod@google.com>
Fri, 29 May 2020 20:56:20 +0000 (20:56 +0000)
commit6ad5f4e334a7b2cecf319d7f4aecfaa8d790395e
treeb7536c831930ea4d7cd309c9cfe36f3c67cff833
parentc2d1df6391a7b4bcdc6112c512c2fd9c365153c5
go/build: move build constraint docs to 'go help buildconstraint'

CL 228017 added a new help page 'go help buildconstraint' which
summarized the information on build constraints in the go/build
documentation. The summary was almost as long as the go/build
documentation, since there's very little that can be left out.

This CL moves the original go/build documentation to
'go help buildconstraint' to eliminate redundnancy. The text
describing enabled tags is slightly different (targeting command-line
users more than go/build users), but the rest of the documentation is
unchanged.

Fixes #37018

Change-Id: Ic0ed4c6fdae2395dd58852e1600c701247c9c4cc
Reviewed-on: https://go-review.googlesource.com/c/go/+/232981
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/alldocs.go
src/cmd/go/internal/help/helpdoc.go
src/go/build/doc.go