From 197e47a469b99595d992a51fbd48df0cd85532da Mon Sep 17 00:00:00 2001 From: Raphaël Barrois Date: Wed, 13 Feb 2013 00:34:27 +0100 Subject: Add a Makefile. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Raphaël Barrois --- Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3