From 4542e19e38b4ca55ad7f35dccaa8f45999540ef0 Mon Sep 17 00:00:00 2001 From: benoitc Date: Sat, 24 Mar 2012 09:25:07 +0100 Subject: [PATCH] add a makefile --- .gitignore | 6 ++++++ Makefile | 15 +++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 Makefile diff --git a/.gitignore b/.gitignore index 764ea0b1..c9d198e7 100755 --- a/.gitignore +++ b/.gitignore @@ -8,12 +8,18 @@ setuptools-* .svn/* .DS_Store *.so +.Python distribute-0.6.8-py2.6.egg distribute-0.6.8.tar.gz gunicorn.egg-info nohup.out .coverage doc/.sass-cache +bin/ +lib/ +man/ +include/ +html/ examples/frameworks/pylonstest/PasteScript* examples/frameworks/pylonstest/pylonstest.egg-info/ examples/frameworks/django/testing/testdb.sql diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..8f17f19b --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +build: + virtualenv --no-site-packages . + bin/python setup.py develop + bin/pip install coverage + bin/pip install nose + +test: + bin/nosetests + +coverage: + bin/nosetests --with-coverage --cover-html --cover-html-dir=html \ + --cover-package=gunicorn + +clean: + @rm -rf .Python bin lib include man build html