]> Cypherpunks repositories - gostls13.git/commitdiff
run.bash: compile the codewalks
authorRob Pike <r@golang.org>
Mon, 26 Mar 2012 05:08:21 +0000 (16:08 +1100)
committerRob Pike <r@golang.org>
Mon, 26 Mar 2012 05:08:21 +0000 (16:08 +1100)
They could be tested but that requires more than seems wise right now.

Update #2648.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/5908054

src/run.bash

index ff2e88f004856b8c167f405b969fdeba7ca7724a..ddd55826f7c6ef14255540ab94147ac2e794babb 100755 (executable)
@@ -74,6 +74,13 @@ make clean
 ./test.bash
 ) || exit $?
 
+(xcd ../doc/codewalk
+# TODO: test these too.
+go build pig.go
+go build urlpoll.go
+rm -f pig urlpoll
+) || exit $?
+
 echo
 echo '#' ../misc/dashboard/builder ../misc/goplay
 go build ../misc/dashboard/builder ../misc/goplay