From: Russ Cox Date: Wed, 1 Oct 2008 18:06:13 +0000 (-0700) Subject: add a script to build *everything* X-Git-Tag: weekly.2009-11-06~3064 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=abb95518aba162168570e5c4c0eb3b1ef556c250;p=gostls13.git add a script to build *everything* R=r DELTA=41 (41 added, 0 deleted, 0 changed) OCL=16290 CL=16293 --- diff --git a/src/all.bash b/src/all.bash new file mode 100755 index 0000000000..b9202e1118 --- /dev/null +++ b/src/all.bash @@ -0,0 +1,44 @@ +#!/bin/bash +# Copyright 2009 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. + +set -e +bash make.bash + +xcd() { + builtin cd $1 + echo --- cd $1 +} + +(xcd ../usr/gri/gosrc +make clean +time make +make test +) + +(xcd ../usr/gri/pretty +make clean +time make +make test +) + +(xcd ../usr/r/rpc +make clean +time make +chanrun +) + +(xcd ../usr/r/refl +rm -f *.6 6.out +6g refl.go +6g printf.go +6g main.go +6l main.6 +6.out +) + +(xcd ../test +./run +) +