File tree 2 files changed +17
-1
lines changed
2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -36,5 +36,5 @@ func main() {
36
36
[ build-status-link ] : https://travis-ci.org/grokify/html-strip-tags-go
37
37
[ docs-godoc-svg ] : https://img.shields.io/badge/docs-godoc-blue.svg
38
38
[ docs-godoc-link ] : https://godoc.org/github.com/grokify/html-strip-tags-go
39
- [ license-svg ] : https://img.shields.io/badge /license-MIT-blue .svg
39
+ [ license-svg ] : https://img.shields.io/github /license/grokify/html-strip-tags-go .svg
40
40
[ license-link ] : https://github.com/grokify/html-strip-tags-go/blob/master/LICENSE
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ # From https://github.com/codecov/example-go
4
+
5
+ set -e
6
+ echo " " > coverage.txt
7
+
8
+ for d in $( find . -maxdepth 10 -type d) ; do
9
+ if ls $d /* .go & > /dev/null; then
10
+ go test -coverprofile=profile.out -covermode=atomic $d
11
+ if [ -f profile.out ]; then
12
+ cat profile.out >> coverage.txt
13
+ rm profile.out
14
+ fi
15
+ fi
16
+ done
You can’t perform that action at this time.
0 commit comments