github.com/roboticscm/goman@v0.0.0-20210203095141-87c07b4a0a55/src/all.rc (about) 1 #!/bin/rc -e 2 # Copyright 2012 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 rfork n 7 8 if(! test -f make.rc){ 9 echo 'all.rc must be run from $GOROOT/src' >[1=2] 10 exit wrongdir 11 } 12 13 . ./make.rc --no-banner 14 if(~ $GO14TESTS ''){ 15 echo 'Build complete; skipping tests.' 16 echo 'To force tests, set GO14TESTS = 1 and re-run, but expect some failures.' 17 exit 18 } 19 bind -b $GOROOT/bin /bin 20 ./run.rc --no-rebuild 21 $GOTOOLDIR/dist banner # print build info