kivy/Makefile

24 lines
496 B
Makefile
Raw Normal View History

PYTHON = python
CHECKSCRIPT = kivy/tools/pep8checker/pep8kivy.py
KIVY_DIR = kivy/
build:
$(PYTHON) setup.py build_ext --inplace
$(PYTHON) setup.py build_factory
style:
$(PYTHON) $(CHECKSCRIPT) $(KIVY_DIR)
stylereport:
$(PYTHON) $(CHECKSCRIPT) -html $(KIVY_DIR)
2011-01-13 14:25:07 +00:00
hook:
cp kivy/tools/pep8checker/pre-commit.githook .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit
test:
python setup.py nosetests
cover:
coverage html --include='kivy*' --omit 'kivy/lib/*,kivy/tools/*,kivy/tests/*'