Skip to content

Commit 4347737

Browse files
committed
fix: gocover ignoring tags; adding -tags CLI flag
Signed-off-by: thediveo <[email protected]>
1 parent 17d96f6 commit 4347737

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/gocover/install.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ HTML="${HTML}"
3232
COUNT="${COUNT}"
3333
NUM_PROGRAMS="${NUM_PROGRAMS}"
3434
RACE="${RACE}"
35+
TAGS="${TAGS}"
3536
VERBOSE="${VERBOSE}"
3637
IGNORE_PKGS=("${IGNORE_PKGS[@]}")
3738
POSARGS=()
@@ -53,6 +54,10 @@ while [[ \$# -gt 0 ]]; do
5354
HTML="false"
5455
shift
5556
;;
57+
-tags|--tags)
58+
TAGS="\$2"
59+
shift 2
60+
;;
5661
*)
5762
POSARGS+=("\$1")
5863
shift

0 commit comments

Comments
 (0)