gomatrix/hooks/pre-commit

10 lines
107 B
Plaintext
Raw Normal View History

2016-11-29 16:44:19 +00:00
#! /bin/bash
set -eu
golint
go fmt
go tool vet --shadow .
gocyclo -over 12 .
go test -timeout 5s -test.v