aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAymeric Augustin2013-11-01 18:24:54 +0100
committerAymeric Augustin2013-11-01 18:24:54 +0100
commit50b13fb575dc79d849d1d79cb5619cce52b42f9d (patch)
treef0bdd6f251131822c9db815b0ef12b9edb31cd84 /Makefile
parent3003c95626617c5c5331ddf10373e867b6610a63 (diff)
downloaddjango-debug-toolbar-50b13fb575dc79d849d1d79cb5619cce52b42f9d.tar.bz2
Get rid of custom test runner.
Refs #426.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1ea5f38..22832c1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,16 @@
# Make file to compress and join all JS files
all: compress_js compress_css
+.PHONY: flake8 example test compress_js compress_css translatable_strings update_translations
+
flake8:
- flake8 *.py debug_toolbar example tests
+ flake8 debug_toolbar example tests
+
+example:
+ PYTHONPATH=. django-admin.py runserver --settings=example.settings
test:
- python runtests.py
+ PYTHONPATH=. django-admin.py test --settings=tests.settings tests
compress_js:
yuicompressor debug_toolbar/static/debug_toolbar/js/jquery.js > debug_toolbar/static/debug_toolbar/js/toolbar.min.js