summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarius@gedmin.as <>2013-02-07 11:17:53 +0200
committermarius@gedmin.as <>2013-02-07 11:17:53 +0200
commite47c4fea9b5f1ccdc765cf39f7ee66efe54bc5e2 (patch)
tree8d398ef6c3e883e4c5925b74aa74d02d6751f45f
parentc2007480bc16dfe36e5f95ad716f8252500cd5ac (diff)
Add 'make coverage'.
-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