]> Cypherpunks repositories - gostls13.git/commit
cmd/go: implement the long-promised -run flag for go generate
authorRob Pike <r@golang.org>
Fri, 17 Apr 2015 17:27:05 +0000 (10:27 -0700)
committerRob Pike <r@golang.org>
Fri, 17 Apr 2015 17:49:14 +0000 (17:49 +0000)
commit2807572ab0c82f50e4fcb1470f08c07cf5872444
tree899ace70b13fcf700acb9e2163a270112da8efb8
parent27067df9db40d558190bf3aa70bf47e698806887
cmd/go: implement the long-promised -run flag for go generate

Trivial to do, but overlooked for 1.4, which is good because I prefer
the new design, which is just to match against the source code of
the line rather than the command word alone.

Change-Id: Idcf7c4479e97bb7cd732f0d058012321b6057628
Reviewed-on: https://go-review.googlesource.com/9005
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/go/doc.go
src/cmd/go/generate.go
src/cmd/go/test.bash
src/cmd/go/testdata/generate/test4.go [new file with mode: 0644]