Home | History | Annotate | Download | only in src
      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.
      5 
      6 set -e
      7 if [ ! -f make.bash ]; then
      8 	echo 'all.bash must be run from $GOROOT/src' 1>&2
      9 	exit 1
     10 fi
     11 OLDPATH="$PATH"
     12 . ./make.bash "$@" --no-banner
     13 bash run.bash --no-rebuild
     14 PATH="$OLDPATH"
     15 $GOTOOLDIR/dist banner  # print build info
     16