]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: read dependencies from source files
authorRuss Cox <rsc@golang.org>
Mon, 6 Nov 2017 01:30:35 +0000 (20:30 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 6 Nov 2017 15:37:49 +0000 (15:37 +0000)
commite247f4654ed437b2327ef2324fc0a8c9a22eae9b
tree3606417cba60c74f820e212728e39560baedfa3b
parent60a3c95dcb7ba40994a41baf48d64f2fae1c2313
cmd/dist: read dependencies from source files

I do not remember why we require deps.go to have a hard-coded
copy of the dependency information for cmd/go, when we can
read it from the source files instead. The answer probably involves
cmd/dist once being a C program.

In any event, stop doing that, which will eliminate the builder-only
failures in the builder-only deps test.

Change-Id: I0abd384c47401940ca08427b5be544812edcbe7f
Reviewed-on: https://go-review.googlesource.com/76021
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
src/cmd/dist/build.go
src/cmd/dist/deps.go [deleted file]
src/cmd/dist/deps_test.go [deleted file]
src/cmd/dist/imports.go [new file with mode: 0644]
src/cmd/dist/mkdeps.bash [deleted file]
src/cmd/dist/mkdeps.go [deleted file]