envconf/.hooks/pre-commit

7 lines
94 B
Plaintext
Raw Permalink Normal View History

2021-03-26 16:17:52 +00:00
#!/usr/bin/env bash
2022-01-29 12:31:31 +00:00
go fmt *.go
go fmt tests/*.go
2022-01-29 12:29:09 +00:00
git add *.go tests/*.go
2022-01-29 12:31:31 +00:00
git add tests/*.go