blob: ce33328e5dffbf050dd44d7658aa637b7d3c4120 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Make file to compress and join all JS files
all: compress_js compress_css
flake8:
flake8 *.py debug_toolbar example tests
test:
pip install Django
python runtests.py
compress_js:
yuicompressor debug_toolbar/static/debug_toolbar/js/jquery.js > debug_toolbar/static/debug_toolbar/js/toolbar.min.js
yuicompressor debug_toolbar/static/debug_toolbar/js/toolbar.js >> debug_toolbar/static/debug_toolbar/js/toolbar.min.js
compress_css:
yuicompressor --type css debug_toolbar/static/debug_toolbar/css/toolbar.css > debug_toolbar/static/debug_toolbar/css/toolbar.min.css
translatable_strings:
cd debug_toolbar && django-admin.py makemessages -l en --no-wrap --no-obsolete
@echo "Please commit changes and run 'tx push -s' (or wait for Transifex to pick them)"
update_translations:
tx pull
cd debug_toolbar && django-admin.py compilemessages
|