aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRaphaël Barrois <raphael.barrois@polytechnique.org>2013-02-13 00:34:27 +0100
committerRaphaël Barrois <raphael.barrois@polytechnique.org>2013-03-03 21:38:41 +0100
commit197e47a469b99595d992a51fbd48df0cd85532da (patch)
tree22bdbf5ec2aaf881e0e06898653f13a7334c8379 /Makefile
parent5a1d9464543bcd7fdbeed1075d4461f213bede05 (diff)
downloadfactory-boy-197e47a469b99595d992a51fbd48df0cd85532da.tar
factory-boy-197e47a469b99595d992a51fbd48df0cd85532da.tar.gz
Add a Makefile.
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
Diffstat (limited to 'Makefile')
-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