mirror of
https://github.com/golang/go
synced 2024-11-25 01:37:57 -07:00
609eeee817
add README explaining how to try the web demos. Fixes #339. R=r CC=barry.d.silverman, bss, vadim https://golang.org/cl/165057
39 lines
567 B
Bash
Executable File
39 lines
567 B
Bash
Executable File
#!/usr/bin/env 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.
|
|
|
|
# TODO(rsc): delete in favor of all.bash once nacl support is complete
|
|
|
|
export GOARCH=386
|
|
export GOOS=nacl
|
|
|
|
set -e
|
|
bash make.bash
|
|
|
|
xcd() {
|
|
echo
|
|
echo --- cd $1
|
|
builtin cd $1
|
|
}
|
|
|
|
(xcd pkg/exp/nacl/srpc
|
|
make install
|
|
) || exit $?
|
|
|
|
(xcd pkg/exp/nacl/av
|
|
make install
|
|
) || exit $?
|
|
|
|
(xcd pkg/exp/4s
|
|
make
|
|
) || exit $?
|
|
|
|
(xcd pkg/exp/spacewar
|
|
make
|
|
) || exit $?
|
|
|
|
(xcd ../test
|
|
./run-nacl
|
|
) || exit $?
|