summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bzrignore1
-rw-r--r--Makefile5
2 files changed, 6 insertions, 0 deletions
diff --git a/.bzrignore b/.bzrignore
index 00f2e4b..8fa160c 100644
--- a/.bzrignore
+++ b/.bzrignore
@@ -2,3 +2,4 @@ gtimelog.egg-info
dist
build
temp
+.coverage
diff --git a/Makefile b/Makefile
index 6bd7700..440ec3d 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,11 @@ all:
check test:
./runtests
+.PHONY: coverage
+coverage:
+ coverage run ./runtests
+ coverage report --include 'src/gtimelog/*'
+
.PHONY: clean
clean:
rm -rf temp tmp build gtimelog.egg-info