File: test.sh

package info (click to toggle)
golang-github-gibson042-canonicaljson-go 1.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 288 kB
  • sloc: sh: 8; makefile: 3
file content (15 lines) | stat: -rwxr-xr-x 252 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

# Switch to source directory.
cd "`dirname "$0"`"

#git submodule update --init --recursive

if go build && go test && go build cli/canonicaljson.go &&
	canonicaljson-spec/test.sh ./canonicaljson; then

	echo PASS
else
	echo FAIL
	exit 1
fi