1 // Copyright 2017 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // Dist helps bootstrap, build, and test the Go distribution. 6 // 7 // Usage: 8 // 9 // go tool dist [command] 10 // 11 // The commands are: 12 // 13 // banner print installation banner 14 // bootstrap rebuild everything 15 // clean deletes all built files 16 // env [-p] print environment (-p: include $PATH) 17 // install [dir] install individual directory 18 // list [-json] list all supported platforms 19 // test [-h] run Go test(s) 20 // version print Go version 21 package main 22