mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-01-23 05:18:12 -05:00
9faa36315f
also fixes a limit bug on listquery
8 lines
250 B
Bash
Executable File
8 lines
250 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
go test -json -cover -coverprofile="$DIR/../coverage.out" ./internal/... | tparse
|
|
go tool cover -html="$DIR/../coverage.out" -o "$DIR/../coverage.html"
|
|
rm -f "$DIR/../coverage.out"
|