summaryrefslogtreecommitdiff
path: root/src/all.rc
diff options
context:
space:
mode:
authorAnthony Martin <ality@pbrane.org>2012-05-01 22:32:46 -0700
committerAnthony Martin <ality@pbrane.org>2012-05-01 22:32:46 -0700
commite52cc72dfcc31dbb98e23c75c26509c1ae318335 (patch)
treeb2a9cea0e8ec03e6ef7977d83184529eaac684fe /src/all.rc
parentea5ec22f166b33c54df3ba39faa511bb01eb941e (diff)
downloadgo-e52cc72dfcc31dbb98e23c75c26509c1ae318335.tar.gz
build: dist-based build for Plan 9
R=rsc, iant, iant, seed CC=golang-dev http://codereview.appspot.com/5608059
Diffstat (limited to 'src/all.rc')
-rwxr-xr-xsrc/all.rc13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/all.rc b/src/all.rc
new file mode 100755
index 000000000..04d4b255c
--- /dev/null
+++ b/src/all.rc
@@ -0,0 +1,13 @@
+#!/bin/rc -e
+# Copyright 2012 The Go Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
+if(! test -f make.rc){
+ echo 'all.rc must be run from $GOROOT/src' >[1=2]
+ exit wrongdir
+}
+
+. ./make.rc --no-banner
+./run.rc --no-rebuild
+$GOTOOLDIR/dist banner # print build info