From 8f5f347e2c32ad1045ca902faab3d0c0fd735ae9 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 21 Dec 2011 07:47:12 -0500 Subject: cmd/go: many improvements * correct dependency calculations * comment meaning of action fields * new alias "std" like "all" but standard packages only * add -o flag to 'go build' * set up for parallel build (still serial) * understand that import "C" depends on cgo, runtime/cgo R=golang-dev, mikioh.mikioh CC=golang-dev https://golang.org/cl/5502055 --- src/run.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/run.bash') diff --git a/src/run.bash b/src/run.bash index b3cf7862c5..004c66eea2 100755 --- a/src/run.bash +++ b/src/run.bash @@ -34,7 +34,7 @@ if $rebuild; then if $USE_GO_TOOL; then echo echo '# Package builds' - time GOPATH="" go install -a all + time go install -a std else (xcd pkg gomake clean @@ -46,7 +46,7 @@ fi if $USE_GO_TOOL; then echo echo '# Package tests' - time GOPATH="" go test all -short + time go test std -short else (xcd pkg gomake testshort -- cgit v1.3-5-g9baa