summaryrefslogtreecommitdiff
path: root/src/cmd/go/mkdoc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/go/mkdoc.sh')
-rwxr-xr-xsrc/cmd/go/mkdoc.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cmd/go/mkdoc.sh b/src/cmd/go/mkdoc.sh
new file mode 100755
index 000000000..7768baeb6
--- /dev/null
+++ b/src/cmd/go/mkdoc.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+# Copyright 2012 The Go Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
+go help documentation > doc.go
+gofmt -w doc.go
+