| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
# Switch to source directory. |
| 4 |
cd "`dirname "$0"`" |
| 5 |
|
| 6 |
#git submodule update --init --recursive |
| 7 |
|
| 8 |
if go build && go test && go build cli/canonicaljson.go && |
| 9 |
canonicaljson-spec/test.sh ./canonicaljson; then |
| 10 |
|
| 11 |
echo PASS |
| 12 |
else |
| 13 |
echo FAIL |
| 14 |
exit 1 |
| 15 |
fi |