mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-09-27 20:17:20 +02:00
Use gotestsum in Lefthook when possible
This commit is contained in:
@@ -10,4 +10,8 @@ fi
|
||||
export CGO_LDFLAGS_ALLOW="-s|-w"
|
||||
export CGO_CFLAGS_ALLOW="-Xpreprocessor"
|
||||
|
||||
go test ./...
|
||||
if [ -x "$(which gotestsum)" ]; then
|
||||
gotestsum ./...
|
||||
else
|
||||
go test -v ./...
|
||||
fi
|
||||
|
Reference in New Issue
Block a user