summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..144c2e9
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,25 @@
+all: default
+
+
+default:
+
+
+clean:
+ find . -type f -name '*.pyc' -delete
+
+
+test:
+ python -W default setup.py test
+
+coverage:
+ coverage erase
+ coverage run "--include=factory/*.py,tests/*.py" --branch setup.py test
+ coverage report "--include=factory/*.py,tests/*.py"
+ coverage html "--include=factory/*.py,tests/*.py"
+
+
+doc:
+ $(MAKE) -C docs html
+
+
+.PHONY: all default clean coverage doc test