urfave-cli/coverage.sh

8 lines
126 B
Bash
Executable File

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