• 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
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.ccmd Loading commit data...
Make.clib Loading commit data...
Make.cmd Loading commit data...
Make.common Loading commit data...
Make.inc Loading commit data...
Make.pkg Loading commit data...
all-qemu.bash Loading commit data...
all.bash Loading commit data...
clean.bash Loading commit data...
env.bash Loading commit data...
make.bash Loading commit data...
quietgcc.bash Loading commit data...
run.bash Loading commit data...
sudo.bash Loading commit data...
version.bash Loading commit data...