Text file src/all.bash

Documentation: Index

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

View as plain text