0xB10C / bademeister-go

Implementation of Bademeister, a mempool watcher and recorder, in Golang.
0 stars 3 forks source link

add git hooks #21

Open OttoAllmendinger opened 5 years ago

OttoAllmendinger commented 5 years ago

Should run lint/vet/fmt/etc

Can be set with git config core.hooksPath git_hooks

0xB10C commented 5 years ago

When should/are they run? git config sounds like a local configuration. Why not keep it in the Makefile? (https://github.com/0xB10C/bademeister-go/pull/19/commits/85a4ba56f1da739901f709d8a6c8da112ee478c8, https://github.com/0xB10C/bademeister-go/pull/19/commits/4838a1bdda98a7dcd2cedcb5932580b5780900b4)

OttoAllmendinger commented 5 years ago

Lint/vet/fmt should run on commit

the hooks can call make