projects
/
ipypbx
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Include test coverage to makefile. Update translations.
[ipypbx]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
51ee2ad
..
20ea747
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-4,7
+4,7
@@
TRANSLATIONS_PATH=src/ipypbx/locale
PROJECT=$(BASENAME).pro
UI=ui/layout.ui
PROJECT=$(BASENAME).pro
UI=ui/layout.ui
-all: generate_ui translation
+all: generate_sql generate_ui translation coverage
generate_ui:
pyuic4 $(UI) -o src/$(BASENAME)/ui.py
generate_ui:
pyuic4 $(UI) -o src/$(BASENAME)/ui.py
@@
-31,3
+31,10
@@
ts2po:
transrelease:
lrelease $(PROJECT)
transrelease:
lrelease $(PROJECT)
+
+generate_sql:
+ PYTHONPATH=projects/sample/:src DJANGO_SETTINGS_MODULE=settings django-admin dumpsql
+
+coverage:
+ nosetests ipypbx.tests --with-coverage --cover-package=ipypbx
+