diff options
author | Russ Cox <rsc@golang.org> | 2013-03-04 10:31:01 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2013-03-04 10:31:01 -0500 |
commit | f6422c25cacfe91d1d5598b9521d4ae3a1d81f6f (patch) | |
tree | 279d951feacfa2e884a9714f6ed0f60fea903e7f /misc/dashboard | |
parent | 746d6b476a5fe2cfe03378370759c7d16fae4907 (diff) | |
download | go-f6422c25cacfe91d1d5598b9521d4ae3a1d81f6f.tar.gz |
misc/dashboard/builder: make -fail mode faster
Don't check out the repository if we're just going to fail everything.
R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/7453048
Diffstat (limited to 'misc/dashboard')
-rw-r--r-- | misc/dashboard/builder/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/dashboard/builder/main.go b/misc/dashboard/builder/main.go index 9096b66a2..b2b8f43a6 100644 --- a/misc/dashboard/builder/main.go +++ b/misc/dashboard/builder/main.go @@ -83,7 +83,7 @@ func main() { } // set up work environment, use existing enviroment if possible - if goroot.Exists() { + if goroot.Exists() || *failAll { log.Print("Found old workspace, will use it") } else { if err := os.RemoveAll(*buildroot); err != nil { |