1
0
mirror of https://github.com/prometheus-community/postgres_exporter.git synced 2025-11-23 23:02:58 +03:00

Add coverage and code quality badges.

This commit is contained in:
Will Rouesnel
2017-02-25 00:19:07 +11:00
parent 8ded56a7da
commit ff8e0c5382
7 changed files with 52 additions and 6 deletions

12
concatenate_coverage Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
# Concatenate a list of coverage reports
# Usage: concatenate_coverage <out> [[test] ...]
output_file=$1
shift
cat $1 > $output_file
shift
for f in $@ ; do
tail -n +2 $f >> $output_file
done