1
0
mirror of https://github.com/golang/go synced 2024-11-22 22:50:03 -07:00

cmd/dist: produce a properly formatted zversion.go

gofmt inserts a blank line line between const and var declarations

Change-Id: I3f2ddbd9e66a74eb3f37a2fe641b93820b02229e
Reviewed-on: https://go-review.googlesource.com/3022
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Michael Matloob 2015-01-18 16:04:47 -08:00 committed by Brad Fitzpatrick
parent fd2642bfe3
commit 020637daa9

View File

@ -27,6 +27,7 @@ func mkzversion(dir, file string) {
"\n"+
"const defaultGoroot = `%s`\n"+
"const theVersion = `%s`\n"+
"\n"+
"var buildVersion = theVersion\n", goroot_final, goversion)
writefile(out, file, 0)