1
0
mirror of https://github.com/golang/go synced 2024-11-22 07:14:40 -07:00

run.bash: remove redundant rebuilds

R=r
CC=golang-dev
https://golang.org/cl/4449041
This commit is contained in:
Russ Cox 2011-04-20 18:19:22 -04:00
parent c4cc9c282f
commit 98cf39e270

View File

@ -33,8 +33,7 @@ xcd() {
if $rebuild; then if $rebuild; then
(xcd pkg (xcd pkg
gomake clean gomake clean
time gomake time gomake install
gomake install
) || exit $i ) || exit $i
fi fi
@ -43,18 +42,10 @@ gomake testshort
) || exit $? ) || exit $?
(xcd pkg/sync; (xcd pkg/sync;
if $rebuild; then
gomake clean;
time gomake
fi
GOMAXPROCS=10 gomake testshort GOMAXPROCS=10 gomake testshort
) || exit $? ) || exit $?
(xcd cmd/ebnflint (xcd cmd/ebnflint
if $rebuild; then
gomake clean;
time gomake
fi
time gomake test time gomake test
) || exit $? ) || exit $?