code quality vet and lint script

This commit is contained in:
Dan Ballard 2018-06-23 08:45:17 -07:00
parent 7a1c1eb97e
commit 4442ab6691
1 changed files with 12 additions and 0 deletions

12
testing/quality.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
echo "Checking code quality (you want to see no output here)"
echo ""
echo "Vetting:"
go list ./... | xargs go vet
echo ""
echo "Linting:"
go list ./... | xargs golint