-#
-# Jinja Makefile
-# ~~~~~~~~~~~~~~
-#
-# Shortcuts for various tasks.
-#
-# :copyright: 2007 by Armin Ronacher.
-# :license: BSD, see LICENSE for more details.
-#
-
test:
- @(cd tests; py.test $(TESTS))
-
-test-coverage:
- @(cd tests; py.test -C $(TESTS))
-
-documentation:
- @(cd docs; ./generate.py)
-
-webpage:
- @(cd ../www; ./generate.py)
+ cd tests; nosetests -v
-pylint:
- @pylint --rcfile scripts/pylintrc jinja
+2to3:
+ rm -rf py3k
+ mkdir py3k
+ cp -R jinja2 py3k
+ 2to3 jinja2 > py3k/convert.patch
+ cd py3k; patch -p0 < convert.patch
-release: documentation
- @(python2.3 setup.py release bdist_egg upload; python2.4 setup.py release bdist_egg upload; python2.5 setup.py release bdist_egg sdist upload)
+.PHONY: test