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:
parent
9d41f39257
commit
d356e4af9e
3 changed files with 96 additions and 0 deletions
9
hooks/pre-commit
Executable file
9
hooks/pre-commit
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue