blob: 5d994d3d0dae97f070d4299a90443519d387ffd4 [file] [log] [blame]
Christopher Wedgwood34191d92010-01-25 00:09:46 -08001#!/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 Coxabb95512008-10-01 11:06:13 -07005
Christopher Wedgwood34191d92010-01-25 00:09:46 -08006set -e
Russ Coxda392d92010-08-18 10:08:49 -04007if [ ! -f make.bash ]; then
8 echo 'all.bash must be run from $GOROOT/src' 1>&2
9 exit 1
10fi
Shenghou Ma81368d92012-06-06 20:19:16 +080011OLDPATH="$PATH"
Russ Cox0c2a7272014-05-20 12:10:19 -040012. ./make.bash "$@" --no-banner
Shenghou Ma149983f2012-04-10 01:49:49 +080013bash run.bash --no-rebuild
Shenghou Ma81368d92012-06-06 20:19:16 +080014PATH="$OLDPATH"
Russ Cox7b848c62012-02-13 22:31:51 -050015$GOTOOLDIR/dist banner # print build info