• Andrew Gerrand's avatar
    goinstall: support GOPATH; building and installing outside the Go tree · ca8a055f
    Andrew Gerrand authored
    For example, with GOPATH set like so
            GOPATH=/home/adg/gocode
    And after creating some subdirectories
            mkdir /home/adg/gocode/{bin,pkg,src}
    
    I can use goinstall to install the github.com/nf/goto web server,
    which depends on the github.com/nf/stat package, with
            goinstall github.com/nf/goto
    
    This downloads and installs all dependencies (that aren't already
    installed) like so
            /home/adg/gocode/bin/goto
            /home/adg/gocode/pkg/darwin_amd64/github.com/nf/stat.a
            /home/adg/gocode/src/github.com/nf/goto/...
            /home/adg/gocode/src/github.com/nf/stat/...
    
    R=rsc, niemeyer
    CC=golang-dev
    https://golang.org/cl/4438043
    ca8a055f
Name
Last commit
Last update
..
5a Loading commit data...
5c Loading commit data...
5g Loading commit data...
5l Loading commit data...
6a Loading commit data...
6c Loading commit data...
6g Loading commit data...
6l Loading commit data...
8a Loading commit data...
8c Loading commit data...
8g Loading commit data...
8l Loading commit data...
cc Loading commit data...
cgo Loading commit data...
cov Loading commit data...
ebnflint Loading commit data...
gc Loading commit data...
godefs Loading commit data...
godoc Loading commit data...
gofix Loading commit data...
gofmt Loading commit data...
goinstall Loading commit data...
gomake Loading commit data...
gopack Loading commit data...
gotest Loading commit data...
gotry Loading commit data...
gotype Loading commit data...
govet Loading commit data...
goyacc Loading commit data...
hgpatch Loading commit data...
ld Loading commit data...
nm Loading commit data...
prof Loading commit data...
Makefile Loading commit data...