From 434773798699b24eac795dcc8fbaeea12824800c Mon Sep 17 00:00:00 2001 From: thediveo Date: Fri, 28 Nov 2025 18:47:42 +0100 Subject: [PATCH] fix: gocover ignoring tags; adding -tags CLI flag Signed-off-by: thediveo --- src/gocover/install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gocover/install.sh b/src/gocover/install.sh index 6ebf242..96958ad 100755 --- a/src/gocover/install.sh +++ b/src/gocover/install.sh @@ -32,6 +32,7 @@ HTML="${HTML}" COUNT="${COUNT}" NUM_PROGRAMS="${NUM_PROGRAMS}" RACE="${RACE}" +TAGS="${TAGS}" VERBOSE="${VERBOSE}" IGNORE_PKGS=("${IGNORE_PKGS[@]}") POSARGS=() @@ -53,6 +54,10 @@ while [[ \$# -gt 0 ]]; do HTML="false" shift ;; + -tags|--tags) + TAGS="\$2" + shift 2 + ;; *) POSARGS+=("\$1") shift