mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
f243bfbc9d
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
15 lines
228 B
Bash
15 lines
228 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
bundle_cover() {
|
|
coverprofiles=( "$DEST/../"*"/coverprofiles/"* )
|
|
for p in "${coverprofiles[@]}"; do
|
|
echo
|
|
(
|
|
set -x
|
|
go tool cover -func="$p"
|
|
)
|
|
done
|
|
}
|
|
|
|
bundle_cover 2>&1 | tee "$DEST/report.log"
|