gomatrix/hooks/pre-commit

10 lines
113 B
Plaintext
Raw Permalink Normal View History

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