Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 44 lines (33 sloc) 1.529 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
25 upload-docs:
92dbe31 @rduplain Export .epub with docs, #388.
rduplain authored
26 $(MAKE) -C docs html dirhtml latex epub
d22428b @mitsuhiko Updated Makefile to also upload and build pdf docs.
authored
27 $(MAKE) -C docs/_build/latex all-pdf
606b006 @mitsuhiko Fixed at least one build warning by renaming files.
authored
28 cd docs/_build/; mv html flask-docs; zip -r flask-docs.zip flask-docs; mv flask-docs html
62e7f5c @mitsuhiko Better uploads
authored
29 rsync -a docs/_build/dirhtml/ pocoo.org:/var/www/flask.pocoo.org/docs/
30 rsync -a docs/_build/latex/Flask.pdf pocoo.org:/var/www/flask.pocoo.org/docs/flask-docs.pdf
31 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
32 rsync -a docs/_build/epub/Flask.epub pocoo.org:/var/www/flask.pocoo.org/docs/flask-docs.epub
7ed3cba @rduplain Split ebook build process into own make target.
rduplain authored
33
34 # ebook-convert docs: http://manual.calibre-ebook.com/cli/ebook-convert.html
35 ebook:
36 @echo 'Using .epub from `make upload-docs` to create .mobi.'
36f3184 @rduplain Automate .mobi generation of docs, #388.
rduplain authored
37 @echo 'Command `ebook-covert` is provided by calibre package.'
38 @echo 'Requires X-forwarding for Qt features used in conversion (ssh -X).'
39 @echo 'Do not mind "Invalid value for ..." CSS errors if .mobi renders.'
40 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
41
42 docs:
43 $(MAKE) -C docs html
Something went wrong with that request. Please try again.