]> Cypherpunks repositories - gostls13.git/commit
goinstall: support building executable commands
authorAndrew Gerrand <adg@golang.org>
Wed, 20 Apr 2011 02:02:29 +0000 (12:02 +1000)
committerAndrew Gerrand <adg@golang.org>
Wed, 20 Apr 2011 02:02:29 +0000 (12:02 +1000)
commitaaa6ce230191c53c6a91f06349aa128e0fff2c56
treef4ad77ede59eb9ae3884bc724500a4f0420dc5b1
parent6a186d38d1c7e98487378991dba3085acbdb05c2
goinstall: support building executable commands

This CL gives goinstall the ability to build commands,
not just packages.

"goinstall foo.googlecode.com/hg/bar" will build the command named
"bar" and install it to GOBIN. "goinstall ." will use the name of the
local directory as the command name.

R=rsc, niemeyer
CC=golang-dev
https://golang.org/cl/4426045
src/cmd/goinstall/main.go
src/cmd/goinstall/make.go