]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: rename doc.go to alldocs.go in preparation for "go doc"
authorRob Pike <r@golang.org>
Fri, 24 Apr 2015 16:10:44 +0000 (09:10 -0700)
committerRob Pike <r@golang.org>
Fri, 24 Apr 2015 18:29:59 +0000 (18:29 +0000)
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>
src/cmd/go/alldocs.go [moved from src/cmd/go/doc.go with 100% similarity]
src/cmd/go/mkalldocs.sh [moved from src/cmd/go/mkdoc.sh with 71% similarity]

similarity index 100%
rename from src/cmd/go/doc.go
rename to src/cmd/go/alldocs.go
similarity index 71%
rename from src/cmd/go/mkdoc.sh
rename to src/cmd/go/mkalldocs.sh
index 507a8aeddc8a752dac08e13ad21c387225d683dd..74e3125e657540986d099e6086125571076d6a52 100755 (executable)
@@ -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