gomatrix/hooks/pre-commit

10 lines
113 B
Bash
Executable File

#! /bin/bash
set -eu
golint
go fmt
go tool vet --all --shadow .
gocyclo -over 12 .
go test -timeout 5s -test.v