]> Cypherpunks repositories - gostls13.git/commit
go: implement build, install, run
authorRuss Cox <rsc@golang.org>
Thu, 15 Dec 2011 03:42:42 +0000 (22:42 -0500)
committerRuss Cox <rsc@golang.org>
Thu, 15 Dec 2011 03:42:42 +0000 (22:42 -0500)
commit2ad8a9c507ede9621bb1cd1f8d02f6cdac7a9e88
treeb485828c609c2ce27b5d668ca73e43817a645a59
parent24e9683ae654c804b7da6da47ef60b9060db718e
go: implement build, install, run

clean is gone; all the intermediate files are created
in a temporary tree that is wiped when the command ends.

Not using go/build's Script because it is not well aligned
with this API.  The various builder methods are copied from
go/build and adapted.  Probably once we delete goinstall
we can delete the Script API too.

R=rogpeppe, adg, adg
CC=golang-dev
https://golang.org/cl/5483069
src/cmd/cgo/gcc.go
src/cmd/cgo/main.go
src/cmd/cgo/out.go
src/cmd/go/Makefile
src/cmd/go/build.go
src/cmd/go/clean.go [deleted file]
src/cmd/go/list.go
src/cmd/go/main.go
src/cmd/go/pkg.go
src/cmd/go/run.go [new file with mode: 0644]