mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-22 15:27:02 +00:00
chasquid-util: Include in coverage tests
This patch adds chasquid-util command-line to the coverage tests, so it is easier to identify testing gaps.
This commit is contained in:
@@ -5,7 +5,12 @@ set -e
|
||||
|
||||
init
|
||||
|
||||
go build || exit 1
|
||||
if [ "${GOCOVERDIR}" != "" ]; then
|
||||
GOFLAGS="-cover -covermode=count -o chasquid-util $GOFLAGS"
|
||||
fi
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
go build $GOFLAGS -tags="$GOTAGS" .
|
||||
|
||||
function r() {
|
||||
./chasquid-util -C=.config "$@"
|
||||
|
||||
Reference in New Issue
Block a user