github.com/skf/moby@v1.13.1/hack/make/cover (about) 1 #!/bin/bash 2 set -e 3 4 bundle_cover() { 5 coverprofiles=( "$DEST/../"*"/coverprofiles/"* ) 6 for p in "${coverprofiles[@]}"; do 7 echo 8 ( 9 set -x 10 go tool cover -func="$p" 11 ) 12 done 13 } 14 15 bundle_cover 2>&1 | tee "$DEST/report.log"