diff --git a/.gitignore b/.gitignore index 9e8c92b..14e685b 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,9 @@ src/test-harness/twtest **/*.dll **/*.exe **/*~ +**/*# **/*.bak **/.DS_Store +**/*.gcno +**/*.gcda releases/ diff --git a/lcov.sh b/lcov.sh new file mode 100755 index 0000000..b8f85c5 --- /dev/null +++ b/lcov.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +if [ -d ./lcov ]; then + rm -Rf ./lcov +fi + +if [ -e ./lcov.dat ]; then + rm ./lcov.dat +fi + +if [ -e ./lcov.tgz ]; then + rm ./lcov.tgz +fi + +lcov --capture --directory src --output-file ./lcov.dat +genhtml ./lcov.dat --output-directory lcov +tar -zcvf lcov.tgz lcov +