mirror of
https://github.com/golang/go
synced 2024-11-22 01:14:40 -07:00
run.bash: remove redundant rebuilds
R=r CC=golang-dev https://golang.org/cl/4449041
This commit is contained in:
parent
c4cc9c282f
commit
98cf39e270
11
src/run.bash
11
src/run.bash
@ -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 $?
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user