add test script

This commit is contained in:
Stani 2015-07-10 15:11:57 +02:00
parent 72c9be4ed0
commit fb6189e246
1 changed files with 8 additions and 0 deletions

8
test Executable file
View File

@ -0,0 +1,8 @@
echo golint
golint ./... | grep "draw2dpdf\|samples"
echo
echo go vet
go vet ./...
echo
echo go test
go test -cover ./... | grep -v "no test"