mirror of
https://github.com/golang/go
synced 2024-11-23 11:10:04 -07:00
cmd/go: rename doc.go to alldocs.go in preparation for "go doc"
Also rename and update mkdoc.sh to mkalldocs.sh Change-Id: Ief3673c22d45624e173fc65ee279cea324da03b5 Reviewed-on: https://go-review.googlesource.com/9226 Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
parent
6ad33be2d9
commit
b3000b6f6a
@ -6,7 +6,7 @@
|
||||
set -e
|
||||
|
||||
go build -o go.latest
|
||||
./go.latest help documentation | sed 's; \*/; * /;' >doc.go
|
||||
gofmt -w doc.go
|
||||
./go.latest help documentation | sed 's; \*/; * /;' >alldocs.go
|
||||
gofmt -w alldocs.go
|
||||
rm go.latest
|
||||
|
Loading…
Reference in New Issue
Block a user