mirror of
https://github.com/golang/go
synced 2024-11-25 02:07:58 -07:00
split all.bash into make.bash and run.bash
R=r OCL=16720 CL=16728
This commit is contained in:
parent
103fec0455
commit
bbb00c62e1
38
src/all.bash
38
src/all.bash
@ -5,40 +5,4 @@
|
||||
|
||||
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
|
||||
)
|
||||
|
||||
bash run.bash
|
||||
|
38
src/run.bash
Executable file
38
src/run.bash
Executable file
@ -0,0 +1,38 @@
|
||||
#!/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
|
||||
|
||||
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/refl
|
||||
rm -f *.6 6.out
|
||||
6g refl.go
|
||||
6g printf.go
|
||||
6g main.go
|
||||
6l main.6
|
||||
6.out
|
||||
)
|
||||
|
||||
(xcd ../test
|
||||
./run
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user