1
0
Fork 0
mirror of https://github.com/matrix-org/gomatrix synced 2025-05-12 18:44:55 +00:00

Add basic types and pre-commit hooks

This commit is contained in:
Kegan Dougal 2016-11-29 16:44:19 +00:00
parent 9d41f39257
commit d356e4af9e
3 changed files with 96 additions and 0 deletions

9
hooks/pre-commit Executable file
View file

@ -0,0 +1,9 @@
#! /bin/bash
set -eu
golint
go fmt
go tool vet --shadow .
gocyclo -over 12 .
go test -timeout 5s -test.v