Commit 98cf39e2 authored by Russ Cox's avatar Russ Cox

run.bash: remove redundant rebuilds

R=r
CC=golang-dev
https://golang.org/cl/4449041
parent c4cc9c28
...@@ -33,8 +33,7 @@ xcd() { ...@@ -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 ...@@ -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 $?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment