#!/bin/sh

set -e

for ext in gcda gcno
do
  for dir in external hepconnector libelperiodic
  do
    find ${dir} -name "*.${ext}" -delete
  done
  find src -name "*_fin.${ext}" -delete
done

coveralls --gcov gcov --gcov-options '\-lp';

#!/bin/sh

set -e

for ext in gcda gcno
do
  find src -name "*_fin.${ext}" -delete
done

coveralls --exclude external --exclude hepconnector --exclude libelperiodic \
  --gcov gcov --gcov-options '\-lp'

Use --exclude option rather than mocking up with coverage files.
Use --exclude option rather than mocking up with coverage files.
