move go vet out of scripts and fixing warning (#12552)

This commit is contained in:
yogy rahmawan
2018-07-09 23:25:32 -07:00
committed by Torkel Ödegaard
parent 25bcdbcab1
commit 8b32dc5847
6 changed files with 8 additions and 8 deletions
-3
View File
@@ -13,9 +13,6 @@ function exit_if_fail {
echo "running go fmt"
exit_if_fail test -z "$(gofmt -s -l ./pkg | tee /dev/stderr)"
echo "running go vet"
exit_if_fail test -z "$(go vet ./pkg/... | tee /dev/stderr)"
echo "building backend with install to cache pkgs"
exit_if_fail time go install ./pkg/cmd/grafana-server