]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: more robust cleanup
authorRuss Cox <rsc@golang.org>
Tue, 6 Jun 2023 12:18:21 +0000 (08:18 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 13 Jun 2023 20:44:00 +0000 (20:44 +0000)
commit9efa625d8425fd97381c80c948689c0eb0f76769
treeb15f3841d5d162315cafc2fea5d94650b183bcd9
parente712759914afa063076bcf5207a93cafd003f7bc
cmd/dist: more robust cleanup

Identify generated files by name prefix (z*) and content
(^// Code generated by go tool dist)
instead of having a fixed list. This will be more robust
against doing make.bash and then rewinding git and
then doing make.bash again.

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