]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: simplify code segments
authorMarvin Stenger <marvin.stenger94@gmail.com>
Thu, 31 Aug 2017 10:50:57 +0000 (12:50 +0200)
committerIan Lance Taylor <iant@golang.org>
Wed, 20 Sep 2017 01:16:36 +0000 (01:16 +0000)
commit3844e707f699198ba44eaf911cbaf673aed8f286
tree9110724e238ec484a01526f4f7bb17c84d825166
parentc174e46ae91e966ab05254f739fa1692cf451a3f
cmd/dist: simplify code segments

This belongs to a series of clean-up changes (see below) for cmd/dist.
This is change (7).

These changes include:
(1)  apply minor fixes
(2)  restore behavior of branchtag
(3)  unleash bootstrap optimization for windows
(4)  use standard generated code header
(5)  remove trivial variables + functions
(6)  move functions for the better
(7)  simplify code segments
(8)  use bytes.Buffer for code generation
(9)  rename variables + functions
(10) remove doc.go

Change-Id: Ia3c33ef060b4baaef354b729ba82ed0b28e52857
Reviewed-on: https://go-review.googlesource.com/61013
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/dist/build.go
src/cmd/dist/buildgo.go
src/cmd/dist/buildtool.go
src/cmd/dist/main.go