Skip to content
Newer
Older
100644 42 lines (32 sloc) 1.46 KB
c900256 @mitsuhiko Various pyflakes fixes
authored
1 .PHONY: clean-pyc ext-test test upload-docs docs audit
08f1f0d @mitsuhiko Added more Flask tests
authored
2
3 all: clean-pyc test
4
5 test:
2b830af @mitsuhiko Use the better test runner in the makefile
authored
6 python run-tests.py
08f1f0d @mitsuhiko Added more Flask tests
authored
7
c900256 @mitsuhiko Various pyflakes fixes
authored
8 audit:
9 python setup.py audit
10
3d14654 @mitsuhiko Added release script
authored
11 release:
12 python scripts/make-release.py
13
c18f032 @mitsuhiko Added a tox-test command that runs Flask tests with tox
authored
14 tox-test:
15 PYTHONDONTWRITEBYTECODE= tox
16
3a80ecc @mitsuhiko Improved script for automatic extension testing
authored
17 ext-test:
18 python tests/flaskext_test.py --browse
19
08f1f0d @mitsuhiko Added more Flask tests
authored
20 clean-pyc:
21 find . -name '*.pyc' -exec rm -f {} +
22 find . -name '*.pyo' -exec rm -f {} +
23 find . -name '*~' -exec rm -f {} +
74862dc @mitsuhiko Added makefile target for website and doc updating.
authored
24
36f3184 @rduplain Automate .mobi generation of docs, #388.
rduplain authored
25 # ebook-convert docs: http://manual.calibre-ebook.com/cli/ebook-convert.html
74862dc @mitsuhiko Added makefile target for website and doc updating.
authored
26 upload-docs:
92dbe31 @rduplain Export .epub with docs, #388.
rduplain authored
27 $(MAKE) -C docs html dirhtml latex epub
d22428b @mitsuhiko Updated Makefile to also upload and build pdf docs.
authored
28 $(MAKE) -C docs/_build/latex all-pdf
606b006 @mitsuhiko Fixed at least one build warning by renaming files.
authored
29 cd docs/_build/; mv html flask-docs; zip -r flask-docs.zip flask-docs; mv flask-docs html
62e7f5c @mitsuhiko Better uploads
authored
30 rsync -a docs/_build/dirhtml/ pocoo.org:/var/www/flask.pocoo.org/docs/
31 rsync -a docs/_build/latex/Flask.pdf pocoo.org:/var/www/flask.pocoo.org/docs/flask-docs.pdf
32 rsync -a docs/_build/flask-docs.zip pocoo.org:/var/www/flask.pocoo.org/docs/flask-docs.zip
92dbe31 @rduplain Export .epub with docs, #388.
rduplain authored
33 rsync -a docs/_build/epub/Flask.epub pocoo.org:/var/www/flask.pocoo.org/docs/flask-docs.epub
36f3184 @rduplain Automate .mobi generation of docs, #388.
rduplain authored
34 @echo 'Building .mobi from .epub...'
35 @echo 'Command `ebook-covert` is provided by calibre package.'
36 @echo 'Requires X-forwarding for Qt features used in conversion (ssh -X).'
37 @echo 'Do not mind "Invalid value for ..." CSS errors if .mobi renders.'
38 ssh -X pocoo.org ebook-convert /var/www/flask.pocoo.org/docs/flask-docs.epub /var/www/flask.pocoo.org/docs/flask-docs.mobi --cover http://flask.pocoo.org/docs/_images/logo-full.png --authors 'Armin Ronacher'
e0712b4 @mitsuhiko Added support for signals
authored
39
40 docs:
41 $(MAKE) -C docs html
Something went wrong with that request. Please try again.