Converted pre-push hook into a make target, avoid calling tests twice when releasing

This commit is contained in:
Deluan 2020-09-24 17:23:46 -04:00
parent 27adb84177
commit a99924ea20
2 changed files with 10 additions and 8 deletions

View file

@ -1,9 +1,4 @@
#!/bin/sh
set -e
echo "#### Linting"
golangci-lint run -v
echo
echo "#### Running tests"
make test
make pre-push