Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (23 sloc) 0.846 kb
.PHONY: flake8 example test coverage translatable_strings update_translations
flake8:
flake8 debug_toolbar example tests
example:
DJANGO_SETTINGS_MODULE=example.settings \
django-admin.py runserver
test:
DJANGO_SETTINGS_MODULE=tests.settings \
django-admin.py test tests
test_selenium:
DJANGO_SELENIUM_TESTS=true DJANGO_SETTINGS_MODULE=tests.settings \
django-admin.py test tests
coverage:
coverage erase
DJANGO_SETTINGS_MODULE=tests.settings \
coverage run --branch --source=debug_toolbar `which django-admin.py` test tests
coverage html
translatable_strings:
cd debug_toolbar && django-admin.py makemessages -l en --no-obsolete
@echo "Please commit changes and run 'tx push -s' (or wait for Transifex to pick them)"
update_translations:
tx pull -a --minimum-perc=10
cd debug_toolbar && django-admin.py compilemessages
Jump to Line
Something went wrong with that request. Please try again.