[Toplist] add DB indexes
[mygpo.git] / makefile
blob13c212490bacb40a5acd8ae0fa945d69fc2972f4
1 all: help
3 help:
4 @echo 'make test synchronize DB and run local webserver'
5 @echo 'make clean clean up files'
6 @echo 'make unittest run unittests'
8 test:
9 python manage.py syncdb
10 python manage.py runserver
12 unittest:
13 python manage.py test
15 coverage:
16 coverage run --omit="/usr/*" manage.py test
17 coverage report -m
18 rm .coverage
20 clean:
21 find -name "*.pyc" -exec rm '{}' \;
24 .PHONY: all help test clean unittest coverage