Christopher Wedgwood | 34191d9 | 2010-01-25 00:09:46 -0800 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | # Copyright 2009 The Go Authors. All rights reserved. |
| 3 | # Use of this source code is governed by a BSD-style |
| 4 | # license that can be found in the LICENSE file. |
Russ Cox | abb9551 | 2008-10-01 11:06:13 -0700 | [diff] [blame] | 5 | |
Christopher Wedgwood | 34191d9 | 2010-01-25 00:09:46 -0800 | [diff] [blame] | 6 | set -e |
Russ Cox | da392d9 | 2010-08-18 10:08:49 -0400 | [diff] [blame] | 7 | if [ ! -f make.bash ]; then |
| 8 | echo 'all.bash must be run from $GOROOT/src' 1>&2 |
| 9 | exit 1 |
| 10 | fi |
Shenghou Ma | 81368d9 | 2012-06-06 20:19:16 +0800 | [diff] [blame] | 11 | OLDPATH="$PATH" |
Russ Cox | 0c2a727 | 2014-05-20 12:10:19 -0400 | [diff] [blame] | 12 | . ./make.bash "$@" --no-banner |
Shenghou Ma | 149983f | 2012-04-10 01:49:49 +0800 | [diff] [blame] | 13 | bash run.bash --no-rebuild |
Shenghou Ma | 81368d9 | 2012-06-06 20:19:16 +0800 | [diff] [blame] | 14 | PATH="$OLDPATH" |
Russ Cox | 7b848c6 | 2012-02-13 22:31:51 -0500 | [diff] [blame] | 15 | $GOTOOLDIR/dist banner # print build info |