aboutsummaryrefslogtreecommitdiff
path: root/src/run.bash
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-12-21 07:47:12 -0500
committerRuss Cox <rsc@golang.org>2011-12-21 07:47:12 -0500
commit8f5f347e2c32ad1045ca902faab3d0c0fd735ae9 (patch)
treeca79a213a503a79c0724842879ff5d53d74d90c3 /src/run.bash
parent836105679e1da85208e3a7a4e2f0a1f375d0a257 (diff)
downloadgo-8f5f347e2c32ad1045ca902faab3d0c0fd735ae9.tar.xz
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
Diffstat (limited to 'src/run.bash')
-rwxr-xr-xsrc/run.bash4
1 files changed, 2 insertions, 2 deletions
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