add a makefile

This commit is contained in:
benoitc 2012-03-24 09:25:07 +01:00
parent a62fac6e30
commit 4542e19e38
2 changed files with 21 additions and 0 deletions

6
.gitignore vendored
View File

@ -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

15
Makefile Normal file
View File

@ -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