urfave-cli/coverage.sh

8 lines
126 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -e
echo "" > coverage.txt
for f in $(ls *.coverprofile); do
cat $f >> coverage.txt
rm $f
done