]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: share one copy of the "generated by" header string
authorAustin Clements <austin@google.com>
Mon, 5 Jun 2023 19:51:52 +0000 (15:51 -0400)
committerAustin Clements <austin@google.com>
Tue, 6 Jun 2023 15:33:05 +0000 (15:33 +0000)
commit89184adb9a834911af8d2f786b7ed454757c08e7
tree0773bb57f1db56cf42df313f2332df367d19cfa9
parentf6ec9b11a6e139aa7e3a63739c588264ed89cbbe
cmd/dist: share one copy of the "generated by" header string

Right now, every code generator in dist has a copy of the

  // Code generated by go tool dist; DO NOT EDIT.

string. Put it in one place to make sure it doesn't diverge.

Change-Id: I8b2a1904031599d7fc128b6a5d74480dee05fc89
Reviewed-on: https://go-review.googlesource.com/c/go/+/501138
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/dist/buildgo.go
src/cmd/dist/buildruntime.go
src/cmd/dist/buildtool.go