This repository has been archived on 2020-04-20. You can view files and clone it, but cannot push or open issues or pull requests.
2018-06-23 15:45:17 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
echo "Checking code quality (you want to see no output here)"
|
2019-01-09 22:33:33 +00:00
|
|
|
|
|
|
|
echo "Formatting:"
|
|
|
|
gofmt -s -w -l .
|
2018-06-23 15:45:17 +00:00
|
|
|
|
|
|
|
echo "Vetting:"
|
|
|
|
go list ./... | xargs go vet
|
|
|
|
|
|
|
|
echo ""
|
|
|
|
echo "Linting:"
|
|
|
|
|
2019-01-09 22:33:33 +00:00
|
|
|
# Ignore wire packages as they are autogenerated
|
2019-01-23 18:48:58 +00:00
|
|
|
go list ./... | grep -v "/wire/" | xargs golint
|