Skip to content

Commit

Permalink
cmd/dist: fix mkdeps again
Browse files Browse the repository at this point in the history
Actually execute topological sort to get those special dependencies right.

Mistake introduced in CL 67650.

Change-Id: I22fd6efb4f033deaf7f191431c0401b59b8a97d0
Reviewed-on: https://go-review.googlesource.com/67870
Run-TryBot: Ian Lance Taylor <[email protected]>
TryBot-Result: Gobot Gobot <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
  • Loading branch information
stemar94 authored and ianlancetaylor committed Oct 3, 2017
1 parent 0b6b564 commit b4f21d6
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 26 deletions.
74 changes: 48 additions & 26 deletions src/cmd/dist/deps.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/cmd/dist/mkdeps.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ func main() {
}
topo = append(topo, p)
}
walk("cmd/go")

// We're only going to print imports, not deps,
// in hopes of making deps.go intelligible to people
Expand Down

0 comments on commit b4f21d6

Please sign in to comment.